X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FInterpreter.java;h=d16c582eebef74ed92c0d0078a44ca6a0c4aa0c5;hp=5ad701407037059165cc3044fe7ca3a9244486f6;hb=fffcafc33aa4066bdf85da7a32e1a1cdb9db2d6f;hpb=592fa04faf2d7c5bbf5fceae5a81da13f4791261 diff --git a/src/org/ibex/js/Interpreter.java b/src/org/ibex/js/Interpreter.java index 5ad7014..d16c582 100644 --- a/src/org/ibex/js/Interpreter.java +++ b/src/org/ibex/js/Interpreter.java @@ -75,7 +75,7 @@ class Interpreter implements ByteCodes, Tokens { } switch(op) { case LITERAL: stack.push(arg); break; - case OBJECT: stack.push(new JS()); break; + case OBJECT: stack.push(new JS.O()); break; case ARRAY: stack.push(new JSArray(JS.toNumber(arg).intValue())); break; case DECLARE: scope.declare((String)(arg==null ? stack.peek() : arg)); if(arg != null) stack.push(arg); break; case TOPSCOPE: stack.push(scope); break;