git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1325a51
)
dump out a method id for opcodes with a method index
author
kramm
<kramm>
Fri, 2 Jan 2009 19:46:37 +0000
(19:46 +0000)
committer
kramm
<kramm>
Fri, 2 Jan 2009 19:46:37 +0000
(19:46 +0000)
lib/as3/code.c
patch
|
blob
|
history
diff --git
a/lib/as3/code.c
b/lib/as3/code.c
index
2374392
..
9fce3a8
100644
(file)
--- 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);