Permalink
Browse files

diasm.winxed: Output multi signatures

Very hacky way of doing it, but gives enough information to figure out
what's going on.
  • Loading branch information...
1 parent 0101a43 commit 7326503a290a84fa9e9110db2a356cafe31a0e89 @Benabik Benabik committed Jun 26, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/disasm.winxed
View
@@ -339,6 +339,13 @@ function print_pmc_constant(var packfile, int i)
print(sprintf("%s (PC %d - %d)", [c, c.start_offs(), c.end_offs()]));
// TODO: multi, outer, arity, flags
+ var multi = c.get_multisig();
+ string s;
+ if ( multi != null ) {
+ ${ get_repr s, multi };
+ print(' (multi: ', typeof(multi), ' ', s, ')');
+ }
+
return;
}

0 comments on commit 7326503

Please sign in to comment.