js/src/jit-test/tests/jaeger/bug563000/simple-untrap.js

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

mercurial