projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more optimal jsfunction calls
[org.ibex.core.git]
/
src
/
org
/
ibex
/
js
/
Test.java
diff --git
a/src/org/ibex/js/Test.java
b/src/org/ibex/js/Test.java
index
d2dd77f
..
621e08d
100644
(file)
--- a/
src/org/ibex/js/Test.java
+++ b/
src/org/ibex/js/Test.java
@@
-14,7
+14,7
@@
public class Test extends JS {
s.put(JS.S("sys"),new Test());
f = JS.cloneWithNewParentScope(f,s);
//JS ret = f.call(null,null,null,null,0);
s.put(JS.S("sys"),new Test());
f = JS.cloneWithNewParentScope(f,s);
//JS ret = f.call(null,null,null,null,0);
- Interpreter i = new Interpreter((JSFunction)f, true, new JSArray());
+ Interpreter i = new Interpreter((JSFunction)f, true, new Interpreter.JSArgs(f));
JS ret = i.resume();
while(up != null) {
JS.UnpauseCallback up = Test.up; Test.up = null;
JS ret = i.resume();
while(up != null) {
JS.UnpauseCallback up = Test.up; Test.up = null;