| Index: test/mjsunit/debug-evaluate-locals-optimized-double.js
|
| diff --git a/test/mjsunit/debug-evaluate-locals-optimized-double.js b/test/mjsunit/debug-evaluate-locals-optimized-double.js
|
| index 781e3ac821e13a6e617a293485bc89a770af009e..bbe78d62360abdf83258b25bb53f9e28d6f981ac 100644
|
| --- a/test/mjsunit/debug-evaluate-locals-optimized-double.js
|
| +++ b/test/mjsunit/debug-evaluate-locals-optimized-double.js
|
| @@ -41,14 +41,22 @@ function listener(event, exec_state, event_data, data) {
|
|
|
| for (var i = 0; i < exec_state.frameCount(); i++) {
|
| var frame = exec_state.frame(i);
|
| - // All frames except the bottom one has normal variables a and b.
|
| if (i < exec_state.frameCount() - 1) {
|
| + // All frames except the bottom one has normal variables a and b.
|
| assertEquals('a', frame.localName(0));
|
| assertEquals('b', frame.localName(1));
|
| assertEquals(i * 2 + 1 + (i * 2 + 1) / 100,
|
| frame.localValue(0).value());
|
| assertEquals(i * 2 + 2 + (i * 2 + 2) / 100,
|
| frame.localValue(1).value());
|
| +
|
| + // All frames except the bottom one has arguments variables x and y.
|
| + assertEquals('x', frame.argumentName(0));
|
| + assertEquals('y', frame.argumentName(1));
|
| + assertEquals((i + 1) * 2 + 1 + ((i + 1) * 2 + 1) / 100,
|
| + frame.argumentValue(0).value());
|
| + assertEquals((i + 1) * 2 + 2 + ((i + 1) * 2 + 2) / 100,
|
| + frame.argumentValue(1).value());
|
| }
|
|
|
| // Check the frame function.
|
|
|