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 var outer_a; |
6 | 6 |
7 function f(a) { | 7 function f(a, b, a) { |
8 outer_a = a; | 8 outer_a = a; |
9 x = 1; | 9 x = 1; |
10 x = 1; | 10 x = 1; |
11 x = 1; | 11 x = 1; |
12 x = 1; | 12 x = 1; |
13 x = 1; | 13 x = 1; |
14 x = 1; | 14 x = 1; |
15 x = 1; | 15 x = 1; |
16 x = 1; | 16 x = 1; |
17 x = 1; | 17 x = 1; |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 x = 1; | 935 x = 1; |
936 x = 1; | 936 x = 1; |
937 x = 1; | 937 x = 1; |
938 x = 1; | 938 x = 1; |
939 x = 1; | 939 x = 1; |
940 x = 1; | 940 x = 1; |
941 x = 1; | 941 x = 1; |
942 x = 1; | 942 x = 1; |
943 x = 1; | 943 x = 1; |
944 } | 944 } |
945 f(1); | 945 f(1, 2, 1); |
946 assertEquals(1, outer_a); | 946 assertEquals(1, outer_a); |
OLD | NEW |