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

Unified Diff: test/mjsunit/compiler/regress-446647.js

Issue 874863003: [turbofan] Make sure there is space for lazy deopt patching before the constant pool. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/compiler/code-generator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/regress-446647.js
diff --git a/test/mjsunit/regress/regress-444805.js-script b/test/mjsunit/compiler/regress-446647.js
similarity index 50%
copy from test/mjsunit/regress/regress-444805.js-script
copy to test/mjsunit/compiler/regress-446647.js
index 17b233b5613fcf1d71c8f7e77ab42d9f5a0bdcf1..77757abd662cd99fe0630be6ed8355b8bebf6eb3 100644
--- a/test/mjsunit/regress/regress-444805.js-script
+++ b/test/mjsunit/compiler/regress-446647.js
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-Error.prepareStackTrace = function(dummyObject, v8StackTrace)
-{
- throw new Error('boom');
-};
+// Flags: --always-opt --turbo-filter=* --turbo-deoptimization --allow-natives-syntax
+function f(a,b) {
+ a%b
+};
-throw new Error('just error');
+f({ toString : function() { %DeoptimizeFunction(f); }});
« no previous file with comments | « src/compiler/code-generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698