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

Side by Side Diff: test/mjsunit/harmony/reflect-enumerate-opt.js

Issue 1631583002: [for-in] Further refactorings and unification around for-in. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« src/types.cc ('K') | « test/mjsunit/for-in-opt.js ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 // This is adapted from mjsunit/for-in-opt.js. 5 // This is adapted from mjsunit/for-in-opt.js.
6 6
7 // Flags: --harmony-proxies --harmony-reflect --allow-natives-syntax 7 // Flags: --harmony-proxies --harmony-reflect --allow-natives-syntax
8 8
9 9
10 "use strict"; 10 "use strict";
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // } 61 // }
62 // 62 //
63 // function check_f2() { 63 // function check_f2() {
64 // assertEquals(keys, f2(o)); 64 // assertEquals(keys, f2(o));
65 // assertEquals(keys, has_keys); 65 // assertEquals(keys, has_keys);
66 // has_keys.length = 0; 66 // has_keys.length = 0;
67 // } 67 // }
68 // 68 //
69 // check_f2(); 69 // check_f2();
70 // check_f2(); 70 // check_f2();
71 // Test lazy deopt after GetPropertyNamesFast 71 // Test lazy deopt after ForInEnumerate
72 // %OptimizeFunctionOnNextCall(f2); 72 // %OptimizeFunctionOnNextCall(f2);
73 // deopt_enum = true; 73 // deopt_enum = true;
74 // check_f2(); 74 // check_f2();
75 // Test lazy deopt after FILTER_KEY 75 // Test lazy deopt after FILTER_KEY
76 // %OptimizeFunctionOnNextCall(f2); 76 // %OptimizeFunctionOnNextCall(f2);
77 // deopt_has = true; 77 // deopt_has = true;
78 // check_f2(); 78 // check_f2();
OLDNEW
« src/types.cc ('K') | « test/mjsunit/for-in-opt.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698