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

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

Issue 2044353002: [crankshaft] do not sign-extend int32 immediate in DoMathMinMax. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/crankshaft/x64/lithium-codegen-x64.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-495493.js
diff --git a/test/message/syntactic-tail-call-in-for-in.js b/test/mjsunit/regress/regress-crbug-495493.js
similarity index 53%
copy from test/message/syntactic-tail-call-in-for-in.js
copy to test/mjsunit/regress/regress-crbug-495493.js
index 8ad7aca54a886b52920dcebfa6a458c0edf72f95..3dba236c3792abc6b406e06d0b4f0fee80abfd58 100644
--- a/test/message/syntactic-tail-call-in-for-in.js
+++ b/test/mjsunit/regress/regress-crbug-495493.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.
-// Flags: --harmony-explicit-tailcalls
-"use strict";
+// Flags: --nofold-constants --enable-slow-asserts --debug-code
-function f() {
- return 1;
-}
-
-function g() {
- for (var v in {a:0}) {
- return continue f() ;
+function foo(p) {
+ for (var i = 0; i < 100000; ++i) {
+ p = Math.min(-1, 0);
}
}
+foo(0);
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698