zero class_signature when allocing
[swftools.git] / lib / as3 / opcodes.h
index 606df95..85035be 100644 (file)
@@ -33,7 +33,7 @@ code_t* abc_bitxor(code_t*prev);
 code_t* abc_call(code_t*prev, int v);
 #define call(method,v) (method->code = abc_call(method->code,v))
 #define OPCODE_CALL 0x41
-code_t* abc_callmethod(code_t*prev, abc_method_body_t* m, int v);
+code_t* abc_callmethod(code_t*prev, abc_method_t* m, int v);
 #define callmethod(method,m,v) (method->code = abc_callmethod(method->code,m,v))
 #define OPCODE_CALLMETHOD 0x43
 code_t* abc_callproplex(code_t*prev, char* name, int v);
@@ -54,7 +54,7 @@ code_t* abc_callpropvoid(code_t*prev, char* name, int v);
 code_t* abc_callpropvoid2(code_t*prev, multiname_t* name, int v);
 #define callpropvoid2(method,name,v) (method->code = abc_callpropvoid2(method->code,name,v))
 #define OPCODE_CALLPROPVOID2 0x4f
-code_t* abc_callstatic(code_t*prev, abc_method_t* m, int v);
+code_t* abc_callstatic(code_t*prev, abc_method_body_t* m, int v);
 #define callstatic(method,m,v) (method->code = abc_callstatic(method->code,m,v))
 #define OPCODE_CALLSTATIC 0x44
 code_t* abc_callsuper(code_t*prev, char* name, int v);
@@ -360,7 +360,7 @@ code_t* abc_newcatch(code_t*prev, int v);
 code_t* abc_newclass(code_t*prev, abc_class_t* m);
 #define newclass(method,m) (method->code = abc_newclass(method->code,m))
 #define OPCODE_NEWCLASS 0x58
-code_t* abc_newfunction(code_t*prev, abc_method_body_t* m);
+code_t* abc_newfunction(code_t*prev, abc_method_t* m);
 #define newfunction(method,m) (method->code = abc_newfunction(method->code,m))
 #define OPCODE_NEWFUNCTION 0x40
 code_t* abc_newobject(code_t*prev, int v);
@@ -489,12 +489,9 @@ code_t* abc_typeof(code_t*prev);
 code_t* abc_urshift(code_t*prev);
 #define urshift(method) (method->code = abc_urshift(method->code))
 #define OPCODE_URSHIFT 0xa7
-code_t* abc_xxx1(code_t*prev);
-#define xxx1(method) (method->code = abc_xxx1(method->code))
-#define OPCODE_XXX1 0x53
-code_t* abc_xxx2(code_t*prev);
-#define xxx2(method) (method->code = abc_xxx2(method->code))
-#define OPCODE_XXX2 0x01
+code_t* abc_applytype(code_t*prev, int v);
+#define applytype(method,v) (method->code = abc_applytype(method->code,v))
+#define OPCODE_APPLYTYPE 0x53
 code_t* abc___break__(code_t*prev);
 #define __break__(method) (method->code = abc___break__(method->code))
 #define OPCODE___BREAK__ 0xff