Index: test/mjsunit/debug-evaluate-locals.js |
diff --git a/test/mjsunit/debug-evaluate-locals.js b/test/mjsunit/debug-evaluate-locals.js |
index 642e0c0682782f10ab696fe10d0d948033e0e817..d63aa9db3af373e86ae41478d4f108275fbd5c7f 100644 |
--- a/test/mjsunit/debug-evaluate-locals.js |
+++ b/test/mjsunit/debug-evaluate-locals.js |
@@ -89,18 +89,17 @@ function f() { |
} |
function checkFrame2(frame) { |
- // Frame 2 (f) has normal variables a and b (and arguments). |
+ // Frame 2 (f) has normal variables a and b. |
var count = frame.localCount(); |
- assertEquals(3, count); |
+ assertEquals(2, count); |
for (var i = 0; i < count; ++i) { |
var name = frame.localName(i); |
var value = frame.localValue(i).value(); |
if (name == 'a') { |
assertEquals(5, value); |
- } else if (name == 'b') { |
- assertEquals(0, value); |
} else { |
- assertEquals('arguments', name); |
+ assertEquals('b', name); |
+ assertEquals(0, value); |
} |
} |
} |