From: kramm Date: Tue, 23 Dec 2008 18:44:50 +0000 (+0000) Subject: regenerated X-Git-Tag: release-0-9-0~645 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=2daadb492b21a94a54c73b0d524b636d3e9da009;p=swftools.git regenerated --- diff --git a/lib/as3/opcodes.c b/lib/as3/opcodes.c index b21bccb..c333f3c 100644 --- a/lib/as3/opcodes.c +++ b/lib/as3/opcodes.c @@ -929,14 +929,10 @@ 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* abc_applytype(code_t*prev, int v) { code_t*self = add_opcode(prev, 0x53); - return self; -} -code_t* abc_xxx2(code_t*prev) -{ - code_t*self = add_opcode(prev, 0x01); + self->data[0] = (void*)(ptroff_t)v; return self; } code_t* abc___break__(code_t*prev) diff --git a/lib/as3/opcodes.h b/lib/as3/opcodes.h index 606df95..ef9aa6d 100644 --- a/lib/as3/opcodes.h +++ b/lib/as3/opcodes.h @@ -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