forked from crosswalk-project/v8-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug: Runtime_GrowArrayElements provoked unnecessary lazy deopt.
Unnecessary, and unhandled as well. BUG=488398 R=jarin@chromium.org LOG=N Review URL: https://codereview.chromium.org/1141163004 Cr-Commit-Position: refs/heads/master@{#28421}
- Loading branch information
1 parent
50ccb14
commit de3a1ca
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2015 the V8 project authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// Flags: --allow-natives-syntax | ||
|
||
var __v_10 = 4294967295; | ||
__v_0 = []; | ||
__v_0.__proto__ = []; | ||
__v_16 = __v_0; | ||
function __f_17(__v_16, base) { | ||
__v_16[base + 1] = 1; | ||
__v_16[base + 4] = base + 4; | ||
} | ||
__f_17(__v_16, true); | ||
__f_17(__v_16, 14); | ||
%OptimizeFunctionOnNextCall(__f_17); | ||
__f_17(__v_16, 2048); |