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

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

Issue 2177483002: [turbofan] Handle impossible types (Type::None()) in the backend. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix?? 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
« src/compiler/opcodes.h ('K') | « src/compiler/x87/code-generator-x87.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-630611.js
diff --git a/test/mjsunit/regress/regress-crbug-603463.js b/test/mjsunit/compiler/regress-630611.js
similarity index 60%
copy from test/mjsunit/regress/regress-crbug-603463.js
copy to test/mjsunit/compiler/regress-630611.js
index 20bfae65c54fa744d2470903fc92749f99726d67..be75777ba72aeeb0922ac95a0c39f50759e60b85 100644
--- a/test/mjsunit/regress/regress-crbug-603463.js
+++ b/test/mjsunit/compiler/regress-630611.js
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function load(a, i) {
- return a[i];
-}
+var global = 1;
+global = 2;
function f() {
- return load(new Proxy({}, {}), undefined);
+ var o = { a : 1 };
+ global = "a";
+ for (var i = global; i < 2; i++) {
+ delete o[i];
+ }
}
f();
-f();
-load([11, 22, 33], 0);
-f();
« src/compiler/opcodes.h ('K') | « src/compiler/x87/code-generator-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698