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

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

Issue 1929213002: [full-codegen] Fix stack depth tracking when reporting unsupported super usages (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move test out of message/ Created 4 years, 8 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/full-codegen.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-4967.js
diff --git a/test/mjsunit/regress/regress-599414-array-concat-fast-path.js b/test/mjsunit/regress/regress-4967.js
similarity index 58%
copy from test/mjsunit/regress/regress-599414-array-concat-fast-path.js
copy to test/mjsunit/regress/regress-4967.js
index 3819233f99b2851176f54641e2a445d705f561e7..9b36405cf4ec5538111a681e407be75fd93a08b9 100644
--- a/test/mjsunit/regress/regress-599414-array-concat-fast-path.js
+++ b/test/mjsunit/regress/regress-4967.js
@@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var largeArray = 'x'.repeat(999).split('');
-var a = largeArray;
-
assertThrows(() => {
- for (;;) {
- a = a.concat(a, a, a, a, a, a);
- }}, RangeError);
+ new class extends Object {
+ constructor() { (() => delete super[super()])(); }
+ }
+}, ReferenceError);
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698