Hi folks. Did you see that when you see the bytecodes of a method you see something like:<br><br>49 <70> self<br>50 <21> pushConstant: 'SQ_HOST32'<br>51 <8F 00 00 02> closureNumCopied: 0 numArgs: 0 bytes 55 to 56<br>
55 <71> pushConstant: true<br>56 <7D> blockReturn<br>.......<br><br><br>The bytecode number here is printed in <hex> . However, in Interpreter and its #initializeBytecodeTable they use base 10. So, each time I read a bytecode, and I want to know which is the method associated with that, I need to convert it. <br>
So, I wonder if it makes sense to change the print, so that it prints in decimal. What do you think?<br><br>To change that, it seems to be in InstructionPrinter >> #print but I cannot make it work yet :(<br><br>cheers<br>
<br>Mariano<br>