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

Side by Side Diff: test/mjsunit/es6/debug-stepnext-for.js

Issue 1784883002: Fix expression positions for for-loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: It's not enough to fix the bug. You also need to TELL it you fixed the bug. Created 4 years, 9 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 | « test/mjsunit/debug-stepin-accessor-ic.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 // Flags: --expose-debug-as debug --harmony 5 // Flags: --expose-debug-as debug --harmony
6 6
7 Debug = debug.Debug; 7 Debug = debug.Debug;
8 var break_count = 0 8 var break_count = 0
9 var exception = null; 9 var exception = null;
10 var log = [] 10 var log = []
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // For-in: get enumerable, assign, body, assign, body, ... 101 // For-in: get enumerable, assign, body, assign, body, ...
102 "f12","f7","F4","f7","F4","f7","F4","f7", 102 "f12","f7","F4","f7","F4","f7","F4","f7",
103 // For-in-let: get enumerable, next, body, next, ... 103 // For-in-let: get enumerable, next, body, next, ...
104 "g16","g11","G4","g11","G4","g11","G4","g11", 104 "g16","g11","G4","g11","G4","g11","G4","g11",
105 // For-of-var: [Symbol.iterator](), next(), body, next(), body, ... 105 // For-of-var: [Symbol.iterator](), next(), body, next(), body, ...
106 "h16","h14","h15","H4","h15","H4","h15","H4","h15", 106 "h16","h14","h15","H4","h15","H4","h15","H4","h15",
107 // For-of: [Symbol.iterator](), next(), body, next(), body, ... 107 // For-of: [Symbol.iterator](), next(), body, next(), body, ...
108 "i12","i10","i11","I4","i11","I4","i11","I4","i11", 108 "i12","i10","i11","I4","i11","I4","i11","I4","i11",
109 // For-of-let: [Symbol.iterator](), next(), body, next(), ... 109 // For-of-let: [Symbol.iterator](), next(), body, next(), ...
110 "j16","j14","j15","J4","j15","J4","j15","J4","j15", 110 "j16","j14","j15","J4","j15","J4","j15","J4","j15",
111 // For-var: var decl, init, condition, body, next, condition, body, ... 111 // For-var: init, condition, body, next, condition, body, ...
112 "k7","k15","k20","K4","k26","k20","K4","k26","k20","K4","k26","k20", 112 "k15","k20","K4","k26","k20","K4","k26","k20","K4","k26","k20",
113 // For: init, condition, body, next, condition, body, ... 113 // For: init, condition, body, next, condition, body, ...
114 "l7","l16","L4","l22","l16","L4","l22","l16","L4","l22","l16", 114 "l7","l16","L4","l22","l16","L4","l22","l16","L4","l22","l16",
115 // For-let: init, condition, body, next, condition, body, ... 115 // For-let: init, condition, body, next, condition, body, ...
116 "m15","m20","M4","m26","m20","M4","m26","m20","M4","m26","m20", 116 "m15","m20","M4","m26","m20","M4","m26","m20","M4","m26","m20",
117 // Exit. 117 // Exit.
118 "y0","z0", 118 "y0","z0",
119 ] 119 ]
120 print("expected:\n"+ JSON.stringify(expected)); 120 print("expected:\n"+ JSON.stringify(expected));
121 121
122 assertArrayEquals(expected, log); 122 assertArrayEquals(expected, log);
123 assertEquals(54, s); 123 assertEquals(54, s);
124 assertNull(exception); 124 assertNull(exception);
OLDNEW
« no previous file with comments | « test/mjsunit/debug-stepin-accessor-ic.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698