X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fopcodes.c;h=9030f46530fbc8ad986f0b84536728740040c741;hb=0fd17f47ee30d90181e51f30fc17a6c31646137e;hp=891d29929144e79a6dc39c72f6834e5ac27852b7;hpb=51d69665a343a5f459cfa01b74a04fdc48ec68f0;p=swftools.git diff --git a/lib/as3/opcodes.c b/lib/as3/opcodes.c index 891d299..9030f46 100644 --- a/lib/as3/opcodes.c +++ b/lib/as3/opcodes.c @@ -953,6 +953,23 @@ code_t* abc_applytype(code_t*prev, int v) self->data[0] = (void*)(ptroff_t)v; return self; } +code_t* abc___pushpackage__(code_t*prev, char* name) +{ + code_t*self = add_opcode(prev, 0xfb); + self->data[0] = string_new4(name); + return self; +} +code_t* abc___pushpackage__2(code_t*prev, string_t* s) +{ + code_t*self = add_opcode(prev, 0xfb); + self->data[0] = string_dup3(s); + return self; +} +code_t* abc___rethrow__(code_t*prev) +{ + code_t*self = add_opcode(prev, 0xfc); + return self; +} code_t* abc___fallthrough__(code_t*prev, char* name) { code_t*self = add_opcode(prev, 0xfd);