Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: test/mjsunit/ignition/osr-from-bytecode.js

Issue 2172233002: [interpreter] Add explicit OSR polling bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-1
Patch Set: Rebased. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-compiler.cc ('k') | test/unittests/interpreter/bytecode-array-builder-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/ignition/osr-from-bytecode.js
diff --git a/test/mjsunit/compiler/regress-630611.js b/test/mjsunit/ignition/osr-from-bytecode.js
similarity index 57%
copy from test/mjsunit/compiler/regress-630611.js
copy to test/mjsunit/ignition/osr-from-bytecode.js
index be75777ba72aeeb0922ac95a0c39f50759e60b85..d4f40bad796783d080e0d01c5928b88fdf240518 100644
--- a/test/mjsunit/compiler/regress-630611.js
+++ b/test/mjsunit/ignition/osr-from-bytecode.js
@@ -2,15 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var global = 1;
-global = 2;
+// Flags: --allow-natives-syntax --ignition --ignition-osr --turbo-from-bytecode
function f() {
- var o = { a : 1 };
- global = "a";
- for (var i = global; i < 2; i++) {
- delete o[i];
+ for (var i = 0; i < 10; i++) {
+ if (i == 5) %OptimizeOsr();
}
}
-
f();
« no previous file with comments | « src/runtime/runtime-compiler.cc ('k') | test/unittests/interpreter/bytecode-array-builder-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698