regenerated
authorkramm <kramm>
Mon, 24 Nov 2008 16:15:22 +0000 (16:15 +0000)
committerkramm <kramm>
Mon, 24 Nov 2008 16:15:22 +0000 (16:15 +0000)
lib/as3/opcodes.c
lib/as3/opcodes.h

index 197f917..4197ec3 100644 (file)
@@ -757,10 +757,10 @@ code_t* abc_pushfalse(code_t*prev)
     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)
index e4cbb7a..d068e3c 100644 (file)
@@ -263,8 +263,8 @@ code_t* abc_pushdouble(code_t*prev, double f);
 #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);