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

Side by Side Diff: test/mjsunit/regress/regress-681171-3.js

Issue 2639533002: [generators] Always call function with closure context when resuming. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Flags: --always-opt --function-context-specialization --verify-heap
6
7 function __f_0() {
8 }
9 try {
10 ( {
11 })();
12 } catch(e) {"Caught: " + e; }
13 function __f_4() {
14 }
15 (function __f_5() {
16 var __v_0 = {
17 *['a']() {
18 yield 2;
19 }
20 };
21 var __v_3 = __v_0.a();
22 __v_3.next();
23 })();
24 try {
25 ( {
26 })()();
27 } catch(e) {; }
OLDNEW
« test/mjsunit/regress/regress-681171-1.js ('K') | « test/mjsunit/regress/regress-681171-2.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698