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

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

Issue 1217673003: Make sure the constant pool size is as promised. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: keep deduplication Created 5 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
« src/arm/assembler-arm.cc ('K') | « src/disassembler.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-506443.js
diff --git a/test/mjsunit/regress/regress-crbug-506443.js b/test/mjsunit/regress/regress-crbug-506443.js
new file mode 100644
index 0000000000000000000000000000000000000000..13cbac6769b6ee73668e96db78b4cfc5cdae58e5
--- /dev/null
+++ b/test/mjsunit/regress/regress-crbug-506443.js
@@ -0,0 +1,89 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Flags: --allow-natives-syntax
+
+assertSame = function assertSame() {
+ if (found === expected) {
+ if (1 / expected) return;
+ } else if ((expected !== expected) && (found !== found)) {
+ return;
+ };
+};
+assertEquals = function assertEquals() {
+ if (expected) {;
+ }
+};
+assertArrayEquals = function assertArrayEquals() {
+ var start = "";
+ if (name_opt) {
+ start = name_opt + " - ";
+ };
+ if (expected.length == found.length) {
+ for (var i = 0; i < expected.length; ++i) {;
+ }
+ }
+};
+assertPropertiesEqual = function assertPropertiesEqual() {
+ if (found) {;
+ }
+};
+assertToStringEquals = function assertToStringEquals() {
+ if (found) {;
+ }
+};
+assertTrue = function assertTrue() {;
+};
+assertFalse = function assertFalse() {;
+};
+assertUnreachable = function assertUnreachable() {
+ var message = "Fail" + "ure: unreachable";
+ if (name_opt) {
+ message += " - " + name_opt;
+ }
+};
+OptimizationStatus = function() {}
+assertUnoptimized = function assertUnoptimized() {;
+}
+assertOptimized = function assertOptimized() {;
+}
+triggerAssertFalse = function() {}
+var __v_2 = {};
+var __v_3 = {};
+var __v_4 = {};
+var __v_5 = {};
+var __v_6 = 1073741823;
+var __v_7 = {};
+var __v_8 = {};
+var __v_9 = {};
+var __v_10 = {};
+var __v_11 = 2147483648;
+var __v_12 = 1073741823;
+var __v_13 = {};
+var __v_14 = {};
+var __v_15 = -2147483648;
+var __v_16 = {};
+var __v_17 = {};
+var __v_19 = {};
+var __v_20 = {};
+var __v_21 = {};
+var __v_22 = {};
+var __v_23 = {};
+var __v_24 = {};
+try {
+ (function() {
+ var Debug = %GetDebugContext().Debug;
+
+ function __f_0() {}
+ for (var __v_0 = 0; __v_0 < 3; __v_0++) {
+ var __v_2 = function() {
+ a = 1;
+ }
+ Debug.setListener(__f_0);
+ if (__v_0 < 2) Debug.setBreakPoint(__v_2);
+ }
+ })();
+} catch (e) {
+ print();
+}
« src/arm/assembler-arm.cc ('K') | « src/disassembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698