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

Side by Side Diff: test/mjsunit/regress/regress-abort-context-allocate-params.js

Issue 2386623002: Mark param as used when we force context allocation due to implement access through arguments (Closed)
Patch Set: Update Created 4 years, 2 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
« no previous file with comments | « src/ast/scopes.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698