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

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

Issue 2206313002: Handle stack overflows in NoSideEffectToString (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« src/objects.cc ('K') | « src/objects.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-633998.js
diff --git a/test/message/arrow-missing.js b/test/mjsunit/regress/regress-633998.js
similarity index 72%
copy from test/message/arrow-missing.js
copy to test/mjsunit/regress/regress-633998.js
index b9f9acd05c48ab3953d2a052efc3837b474fb88f..1fd71a9d960d1e2ba8bd16985272606799a83ea2 100644
--- a/test/message/arrow-missing.js
+++ b/test/mjsunit/regress/regress-633998.js
@@ -1,7 +1,7 @@
// 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.
-//
-//
-function foo() { return(); }
+error = new Error();
+error.name = error;
+Reflect.apply(error);
« src/objects.cc ('K') | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698