From 35b692b1792f584c2b8d69cbbefa7794e3619f86 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 2 Jan 2009 19:46:37 +0000 Subject: [PATCH] dump out a method id for opcodes with a method index --- lib/as3/code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/as3/code.c b/lib/as3/code.c index 2374392..9fce3a8 100644 --- a/lib/as3/code.c +++ b/lib/as3/code.c @@ -911,7 +911,7 @@ int code_dump(code_t*c, abc_exception_list_t*exceptions, abc_file_t*file, char*p free(m); } else if(*p == 'm') { abc_method_t*m = (abc_method_t*)data; - fprintf(fo, "[method %s]", m->name); + fprintf(fo, "[method %08x %s]", m, m->name); } else if(*p == 'c') { abc_class_t*cls = (abc_class_t*)data; char*classname = multiname_tostring(cls->classname); -- 1.7.10.4