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

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

Issue 2177133002: [turbofan] Remove overly restrictive DCHECK. (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/compiler/simplified-lowering.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-630923.js
diff --git a/test/mjsunit/regress/regress-crbug-629435.js b/test/mjsunit/regress/regress-crbug-630923.js
similarity index 76%
copy from test/mjsunit/regress/regress-crbug-629435.js
copy to test/mjsunit/regress/regress-crbug-630923.js
index b73f601c71fcf9fac7a321da8648d056dbe1edd4..ff0d2dd05efbedec15a515545eac2184c36c59f3 100644
--- a/test/mjsunit/regress/regress-crbug-629435.js
+++ b/test/mjsunit/regress/regress-crbug-630923.js
@@ -4,16 +4,13 @@
// Flags: --allow-natives-syntax
-function bar(v) {
- v.constructor;
+var o = {};
+function bar(o) {
+ return 1 + (o.t ? 1 : 2);
}
-
-bar([]);
-bar([]);
-
function foo() {
- var x = -0;
- bar(x + 1);
+ bar(o);
}
+foo();
%OptimizeFunctionOnNextCall(foo);
foo();
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698