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