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

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

Issue 2331543002: [turbofan] Switch from a whitelist to a blacklist for NeedsFrameStateInput (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/compiler/linkage.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-644631.js
diff --git a/test/message/syntactic-tail-call-in-binop-rhs.js b/test/mjsunit/regress/regress-crbug-644631.js
similarity index 59%
copy from test/message/syntactic-tail-call-in-binop-rhs.js
copy to test/mjsunit/regress/regress-crbug-644631.js
index a586cc84ee0fa2c6ab0b55879b2cc29042392721..5e649a49463791f960bc635f207c3ab69d3b2169 100644
--- a/test/message/syntactic-tail-call-in-binop-rhs.js
+++ b/test/mjsunit/regress/regress-crbug-644631.js
@@ -2,13 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --harmony-explicit-tailcalls
-"use strict";
+// Flags: --turbo --always-opt
function f() {
- return 1;
+ new Int8Array(new ArrayBuffer(2147483648));
}
-function g() {
- return b + continue f() ;
-}
+// Should not crash
+assertThrows(f, RangeError);
« no previous file with comments | « src/compiler/linkage.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698