js/src/jit-test/tests/jaeger/bug563000/simple-trap-2.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:8c66a743febc
1 // |jit-test| debug
2 setDebug(true);
3 var x = "notset";
4 function main() { x = "failure"; }
5 function success() { x = "success"; }
6
7 /* The JSOP_STOP in main. */
8 trap(main, 16, "success()");
9 main();
10
11 assertEq(x, "success");

mercurial