code_t*self = add_opcode(prev, 0x27);
return self;
}
-code_t* abc_pushint(code_t*prev, abc_method_t* m)
+code_t* abc_pushint(code_t*prev, int i)
{
code_t*self = add_opcode(prev, 0x2d);
- self->data[0] = m;
+ self->data[0] = (void*)(ptroff_t)i;
return self;
}
code_t* abc_pushnamespace(code_t*prev, int v)
#define pushdouble(method,f) (method->code = abc_pushdouble(method->code,f))
code_t* abc_pushfalse(code_t*prev);
#define pushfalse(method) (method->code = abc_pushfalse(method->code))
-code_t* abc_pushint(code_t*prev, abc_method_t* m);
-#define pushint(method,m) (method->code = abc_pushint(method->code,m))
+code_t* abc_pushint(code_t*prev, int i);
+#define pushint(method,i) (method->code = abc_pushint(method->code,i))
code_t* abc_pushnamespace(code_t*prev, int v);
#define pushnamespace(method,v) (method->code = abc_pushnamespace(method->code,v))
code_t* abc_pushnan(code_t*prev);