private static final JSFunction getInvoker = new JSFunction("getInvoker", 0, null);
static {
putInvoker.add(-1, ByteCodes.PUT, null);
+ putInvoker.add(-1, Tokens.RETURN, null);
getInvoker.add(-1, ByteCodes.GET, null);
+ putInvoker.add(-1, Tokens.RETURN, null);
}
void invoke(Object key, Object value) {
Interpreter i = new Interpreter(putInvoker, false, null);
- i.stack.push(this);
+ i.stack.push(trapee);
i.stack.push(key);
i.stack.push(value);
i.resume();