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

Side by Side Diff: test/mjsunit/regress/regress-681171-1.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 foo = function foo() { if (found === expected) { if (1 / found) return; } else i f ((expected !== expected) && (found !== found)) { return; }; }; bar = function bar() { if (found) {; } };
8 try {
9 (function __f_2() {
10 bar(...(function*(){ yield 1; yield 2; yield 3; })());
11 })();
12 (function __f_16() {
13 })();
14 } catch(e) {; }
15 "xxx".match();
Jarin 2017/01/17 12:13:14 Please, use some sensible formatting (here and in
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Modules.golden ('k') | test/mjsunit/regress/regress-681171-2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698