| Index: test/mjsunit/es6/debug-stepnext-for.js
|
| diff --git a/test/mjsunit/es6/debug-stepnext-for.js b/test/mjsunit/es6/debug-stepnext-for.js
|
| index 001f7053fde52b40081c087ea264fe9643e7b034..c9963515b8a12023674277b8bfd06663187097d8 100644
|
| --- a/test/mjsunit/es6/debug-stepnext-for.js
|
| +++ b/test/mjsunit/es6/debug-stepnext-for.js
|
| @@ -86,6 +86,9 @@ Debug.setListener(null); // Break z
|
| print("log:\n"+ JSON.stringify(log));
|
| // The let declaration differs from var in that the loop variable
|
| // is declared in every iteration.
|
| +// TODO(verwaest): For-of has hacky position numbers for Symbol.iterator and
|
| +// .next. Restore to proper positions once the CallPrinter can disambiguate
|
| +// based on other values.
|
| var expected = [
|
| // Entry
|
| "a2","b2",
|
| @@ -99,12 +102,12 @@ var expected = [
|
| "f12","f7","F4","f7","F4","f7","F4","f7",
|
| // For-in-let: get enumerable, next, body, next, ...
|
| "g16","g11","G4","g11","G4","g11","G4","g11",
|
| - // For-of-var: next(), body, next(), body, ...
|
| - "h16","H4","h16","H4","h16","H4","h16",
|
| - // For-of: next(), body, next(), body, ...
|
| - "i12","I4","i12","I4","i12","I4","i12",
|
| - // For-of-let: next(), body, next(), ...
|
| - "j16","J4","j16","J4","j16","J4","j16",
|
| + // For-of-var: [Symbol.iterator](), next(), body, next(), body, ...
|
| + "h16","h14","h15","H4","h15","H4","h15","H4","h15",
|
| + // For-of: [Symbol.iterator](), next(), body, next(), body, ...
|
| + "i12","i10","i11","I4","i11","I4","i11","I4","i11",
|
| + // For-of-let: [Symbol.iterator](), next(), body, next(), ...
|
| + "j16","j14","j15","J4","j15","J4","j15","J4","j15",
|
| // For-var: var decl, condition, body, next, condition, body, ...
|
| "k7","k20","K4","k26","k20","K4","k26","k20","K4","k26","k20",
|
| // For: init, condition, body, next, condition, body, ...
|
|
|