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-from-add-inline.js
1
// |jit-test| debug
2
setDebug(true);
3
x = "notset";
4
function main() {
5
/* The JSOP_STOP in a. */
6
a = { valueOf: function () { trap(main, 36, "success()"); } };
7
a + "";
8
x = "failure";
9
}
10
function success() { x = "success"; }
11
12
main();
13
assertEq(x, "success");