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
/
trap-parent-from-trap.js
1
// |jit-test| debug
2
setDebug(true);
3
x = "notset";
4
5
function child() {
6
x = "failure1";
7
/* JSOP_STOP in parent. */
8
trap(parent, 10, "success()");
9
}
10
11
function parent() {
12
x = "failure2";
13
}
14
/* First op in parent. */
15
trap(parent, 0, "child()");
16
17
function success() {
18
x = "success";
19
}
20
21
parent();
22
assertEq(x, "success");