OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var outer_a; | 5 function f(getter) { |
6 | 6 arguments = 1; |
7 function f(a) { | |
8 outer_a = a; | |
9 x = 1; | 7 x = 1; |
10 x = 1; | 8 x = 1; |
11 x = 1; | 9 x = 1; |
12 x = 1; | |
13 x = 1; | 10 x = 1; |
14 x = 1; | 11 x = 1; |
15 x = 1; | 12 x = 1; |
16 x = 1; | 13 x = 1; |
17 x = 1; | 14 x = 1; |
18 x = 1; | 15 x = 1; |
19 x = 1; | 16 x = 1; |
20 x = 1; | 17 x = 1; |
21 x = 1; | 18 x = 1; |
22 x = 1; | 19 x = 1; |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 x = 1; | 932 x = 1; |
936 x = 1; | 933 x = 1; |
937 x = 1; | 934 x = 1; |
938 x = 1; | 935 x = 1; |
939 x = 1; | 936 x = 1; |
940 x = 1; | 937 x = 1; |
941 x = 1; | 938 x = 1; |
942 x = 1; | 939 x = 1; |
943 x = 1; | 940 x = 1; |
944 } | 941 } |
945 f(1); | |
946 assertEquals(1, outer_a); | |
OLD | NEW |