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

Unified Diff: test/mjsunit/regress/regress-455207.js

Issue 1040703003: Fix variable decl register collision on ARM. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 4 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/full-codegen/arm/full-codegen-arm.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-455207.js
diff --git a/test/mjsunit/regress/regress-463028.js b/test/mjsunit/regress/regress-455207.js
similarity index 51%
copy from test/mjsunit/regress/regress-463028.js
copy to test/mjsunit/regress/regress-455207.js
index 1454ef1aea9a4ba296f99ce0531821e3ccd85aa5..88fec4a3b9718625fc6a1523cf548ca29081ca84 100644
--- a/test/mjsunit/regress/regress-463028.js
+++ b/test/mjsunit/regress/regress-455207.js
@@ -2,17 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax
-
-var o = {}
-Object.defineProperty(o, "z", {
- set: function() {
- %DeoptimizeFunction(f);
- },
-});
-
-function f(o) {
- return 19 + (void(o.z = 12));
+"use strict";
+var s = "";
+for (var i = 16; i < 1085; i++) {
+ s += ("var a" + i + " = " + i + ";");
}
-
-f(o);
+s += "const x = 10;" +
+ "assertEquals(10, x); x = 11; assertEquals(11, x)";
+assertThrows(function() { eval(s); });
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698