X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fopcodes.h;h=b95ed07c9a84a87b0060bd249e808ebf0209ee41;hb=62a83d162b254d91da418cee25f5b87b067a3f92;hp=a60f79857694d5e1ad6f77d6fae0fdd81edd3e25;hpb=d424b19bfbd0658640f976f9117305737fb87678;p=swftools.git diff --git a/lib/as3/opcodes.h b/lib/as3/opcodes.h index a60f798..b95ed07 100644 --- a/lib/as3/opcodes.h +++ b/lib/as3/opcodes.h @@ -402,8 +402,8 @@ code_t* abc_pushfalse(code_t*prev); code_t* abc_pushint(code_t*prev, int i); #define pushint(method,i) (method->code = abc_pushint(method->code,i)) #define OPCODE_PUSHINT 0x2d -code_t* abc_pushnamespace(code_t*prev, int v); -#define pushnamespace(method,v) (method->code = abc_pushnamespace(method->code,v)) +code_t* abc_pushnamespace(code_t*prev, namespace_t* ns); +#define pushnamespace(method,ns) (method->code = abc_pushnamespace(method->code,ns)) #define OPCODE_PUSHNAMESPACE 0x31 code_t* abc_pushnan(code_t*prev); #define pushnan(method) (method->code = abc_pushnan(method->code)) @@ -501,6 +501,21 @@ code_t* abc_urshift(code_t*prev); 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___pushpackage__(code_t*prev, char* name); +#define __pushpackage__(method,name) (method->code = abc___pushpackage__(method->code,name)) +#define OPCODE___PUSHPACKAGE__ 0xfb +code_t* abc___pushpackage__2(code_t*prev, string_t* s); +#define __pushpackage__2(method,s) (method->code = abc___pushpackage__2(method->code,s)) +#define OPCODE___PUSHPACKAGE__2 0xfb +code_t* abc___rethrow__(code_t*prev); +#define __rethrow__(method) (method->code = abc___rethrow__(method->code)) +#define OPCODE___RETHROW__ 0xfc +code_t* abc___fallthrough__(code_t*prev, char* name); +#define __fallthrough__(method,name) (method->code = abc___fallthrough__(method->code,name)) +#define OPCODE___FALLTHROUGH__ 0xfd +code_t* abc___fallthrough__2(code_t*prev, string_t* s); +#define __fallthrough__2(method,s) (method->code = abc___fallthrough__2(method->code,s)) +#define OPCODE___FALLTHROUGH__2 0xfd code_t* abc___continue__(code_t*prev, char* name); #define __continue__(method,name) (method->code = abc___continue__(method->code,name)) #define OPCODE___CONTINUE__ 0xfe