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

Unified Diff: test/mjsunit/ignition/regress-629792-source-position-on-jump.js

Issue 2185123003: [interpreter] Fix peephole rule on eliding last before jump. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/interpreter/bytecode-peephole-optimizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/ignition/regress-629792-source-position-on-jump.js
diff --git a/test/mjsunit/compiler/regress-572409.js b/test/mjsunit/ignition/regress-629792-source-position-on-jump.js
similarity index 59%
copy from test/mjsunit/compiler/regress-572409.js
copy to test/mjsunit/ignition/regress-629792-source-position-on-jump.js
index 126b622625ad4455b4bd2e309ee10e32eb02989e..f87caf681a00af7d47b878013e1344f1cfd94c72 100644
--- a/test/mjsunit/compiler/regress-572409.js
+++ b/test/mjsunit/ignition/regress-629792-source-position-on-jump.js
@@ -2,9 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var o = function() {};
-function f() {
- var lit = { __proto__: o };
- o instanceof RegExp;
+function f(t) {
+ var f = t || this;
+ for (var i in t) {
+ for (var j in t) {
+ (j);
+ continue;
+ }
+ }
}
f();
« no previous file with comments | « src/interpreter/bytecode-peephole-optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698