Index: test/mjsunit/wasm/stack.js |
diff --git a/test/mjsunit/wasm/stack.js b/test/mjsunit/wasm/stack.js |
index 0e6a6a01d6e442ca6bcc34a518bcfbfb3301af6e..a45db943cc3032c0c3a01b4d7dd76bdbebc6c8f5 100644 |
--- a/test/mjsunit/wasm/stack.js |
+++ b/test/mjsunit/wasm/stack.js |
@@ -106,10 +106,9 @@ Error.prepareStackTrace = function(error, frames) { |
assertContains("unreachable", e.message); |
verifyStack(e.stack, [ |
// isWasm function line pos file |
- // TODO(clemensh): pos should be 1 |
- [ true, "exec_unreachable", 1, -1, null], |
+ [ true, "exec_unreachable", 1, 1, null], |
[ false, "testWasmUnreachable", 103, 0, "stack.js"], |
- [ false, null, 115, 0, "stack.js"] |
+ [ false, null, 114, 0, "stack.js"] |
]); |
} |
})(); |
@@ -122,11 +121,10 @@ Error.prepareStackTrace = function(error, frames) { |
assertContains("out of bounds", e.message); |
verifyStack(e.stack, [ |
// isWasm function line pos file |
- // TODO(clemensh): pos should be 3 |
- [ true, "?", 2, -1, null], |
+ [ true, "?", 2, 3, null], |
[ true, "call_mem_out_of_bounds", 3, 1, null], |
- [ false, "testWasmMemOutOfBounds", 119, 0, "stack.js"], |
- [ false, null, 132, 0, "stack.js"] |
+ [ false, "testWasmMemOutOfBounds", 118, 0, "stack.js"], |
+ [ false, null, 130, 0, "stack.js"] |
]); |
} |
})(); |