js/src/jit-test/tests/jaeger/bug563000/trap-parent.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:03e8bf9b797b
1 // |jit-test| debug
2 setDebug(true);
3 x = "notset";
4 function child() {
5 /* JSOP_STOP in parent. */
6 trap(parent, 26, "success()");
7 }
8 function parent() {
9 child();
10 x = "failure";
11 }
12 function success() {
13 x = "success";
14 }
15
16 parent()
17 assertEq(x, "success");

mercurial