Permalink
Browse files

disasm: Use get_repr to print Keys

  • Loading branch information...
1 parent 3b91fbf commit d207a53735c6220bfd0be7776c6be7db12d8044d @Benabik Benabik committed Jan 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/disasm.winxed
View
@@ -355,9 +355,9 @@ function print_pmc_constant(var packfile, int i)
}
if ( c instanceof 'Key' ) {
- print( '[...]' );
- // TODO: Examine a key
- // XXX: Keys need better introspection: type, registers
+ string repr;
+ ${ get_repr repr, c };
+ print(repr);
return;
}

0 comments on commit d207a53

Please sign in to comment.