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

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

Issue 2179033005: [heap] Don't consider mementos on pages below age mark (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Pick right age mark 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/heap/heap-inl.h ('K') | « src/heap/heap-inl.h ('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-631050.js
diff --git a/test/mjsunit/regress/regress-crbug-614292.js b/test/mjsunit/regress/regress-631050.js
similarity index 54%
copy from test/mjsunit/regress/regress-crbug-614292.js
copy to test/mjsunit/regress/regress-631050.js
index 3a67c17f6010b3bf60a8b7c9aa019ff369ddfadf..b31c6a2022fcba576f7962322e2d7f64c2f39cb1 100644
--- a/test/mjsunit/regress/regress-crbug-614292.js
+++ b/test/mjsunit/regress/regress-631050.js
@@ -1,14 +1,15 @@
// Copyright 2016 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: --gc-global --stress-runs=8
-// Flags: --allow-natives-syntax
-
-function foo() {
- return [] | 0 && values[0] || false;
+function __f_3(x, expected) {
+ var __v_3 = [];
+ __v_3.length = x;
+ __f_3(true, 1);
}
-%OptimizeFunctionOnNextCall(foo);
try {
- foo();
+ __f_3(2147483648, 2147483648);
} catch (e) {}
« src/heap/heap-inl.h ('K') | « src/heap/heap-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698