projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
bug563000
/
untrap-own-trapsite.js
1
// |jit-test| debug
2
setDebug(true);
3
x = "notset";
4
function child() {
5
/* JSOP_STOP in parent */
6
untrap(parent, 10);
7
x = "success";
8
}
9
function parent() {
10
x = "failure";
11
}
12
/* JSOP_STOP in parent */
13
trap(parent, 10, "child()");
14
15
parent();
16
assertEq(x, "success");