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

Unified Diff: test/message/generators-throw1.js

Issue 1995303002: [interpreter] Fix source position of yield-exceptions in generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebaseline bytecode expectations Created 4 years, 7 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 | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | test/message/generators-throw1.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/generators-throw1.js
diff --git a/test/message/new-target-escaped.js b/test/message/generators-throw1.js
similarity index 70%
copy from test/message/new-target-escaped.js
copy to test/message/generators-throw1.js
index f8398bebd4dda6d8568b3f80cbc85ed2c6d6710e..f544d33328508d36e9332295807a371c8c303599 100644
--- a/test/message/new-target-escaped.js
+++ b/test/message/generators-throw1.js
@@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-//
+// Flags: --ignition-generators
+
+function* f() { yield }
-function f() {
- return new.t\u0061rget;
-}
-var o = new f();
+f().throw(42);
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | test/message/generators-throw1.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698