X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fexpr.c;h=33491d3cabc9d24223c0ea5c37226f615d3ecdf7;hb=3d7393729761993b7d7e1d8db602560d339adac2;hp=c5cd0eaf0a63748408ec873a3527d490e03b10af;hpb=1ce3a5e5e8958b1a0e76e099b067a863549ded4f;p=swftools.git diff --git a/lib/as3/expr.c b/lib/as3/expr.c index c5cd0ea..33491d3 100644 --- a/lib/as3/expr.c +++ b/lib/as3/expr.c @@ -90,16 +90,6 @@ static classinfo_t*join_types(classinfo_t*type1, classinfo_t*type2, nodetype_t*t return type1; return TYPE_ANY; } -static char is_getlocal(code_t*c) -{ - if(!c || c->prev || c->next) - return 0; - return(c->opcode == OPCODE_GETLOCAL - || c->opcode == OPCODE_GETLOCAL_0 - || c->opcode == OPCODE_GETLOCAL_1 - || c->opcode == OPCODE_GETLOCAL_2 - || c->opcode == OPCODE_GETLOCAL_3); -} static int getlocalnr(code_t*c) { if(c->opcode == OPCODE_GETLOCAL) {return (ptroff_t)c->data[0];}