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

Unified Diff: test/mjsunit/regress/regress-crbug-644245.js

Issue 2317353003: [deoptimizer] Support materialization of ContextExtension. (Closed)
Patch Set: Created 4 years, 3 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/deoptimizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-644245.js
diff --git a/test/mjsunit/regress/regress-crbug-577112.js b/test/mjsunit/regress/regress-crbug-644245.js
similarity index 64%
copy from test/mjsunit/regress/regress-crbug-577112.js
copy to test/mjsunit/regress/regress-crbug-644245.js
index 504f921a335801a51fd1c0c1a39a8b08e8872722..7f4e00599e7eabfd8923c81debd3633bcfb095fb 100644
--- a/test/mjsunit/regress/regress-crbug-577112.js
+++ b/test/mjsunit/regress/regress-crbug-644245.js
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax
+// Flags: --allow-natives-syntax --turbo --turbo-escape
-Array.prototype.__proto__ = null;
-var prototype = Array.prototype;
function f() {
- prototype.lastIndexOf({});
+ try {
+ throw "boom";
+ } catch(e) {
+ %_DeoptimizeNow();
+ }
}
+
f();
f();
%OptimizeFunctionOnNextCall(f);
« no previous file with comments | « src/deoptimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698