OLD | NEW |
---|---|
(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) {; } | |
OLD | NEW |