added xxx1 opcodes
[swftools.git] / lib / as3 / opcodes.c
index 197f917..b21bccb 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)
@@ -929,3 +929,18 @@ code_t* abc_urshift(code_t*prev)
     code_t*self = add_opcode(prev, 0xa7);
     return self;
 }
+code_t* abc_xxx1(code_t*prev)
+{
+    code_t*self = add_opcode(prev, 0x53);
+    return self;
+}
+code_t* abc_xxx2(code_t*prev)
+{
+    code_t*self = add_opcode(prev, 0x01);
+    return self;
+}
+code_t* abc___break__(code_t*prev)
+{
+    code_t*self = add_opcode(prev, 0xff);
+    return self;
+}