js/src/jit-test/tests/jaeger/bug563000/trap-from-add-ool.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:1f40e7cf112a
1 // |jit-test| debug
2 setDebug(true);
3 x = "notset";
4 function main() {
5 /* The JSOP_STOP in main. */
6 a = { valueOf: function () { trap(main, 91, "success()"); } };
7 b = "";
8 eval();
9 a + b;
10 x = "failure";
11 }
12 function success() { x = "success"; }
13
14 main();
15 assertEq(x, "success");

mercurial