<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hey Chris,</div><div><br></div><div>I don't know the full answer, but:</div><div><br></div><div>If you get a mirror on an object, eg    tmp: reflect: traits string</div><div>Then get a mirror on a slot containing a method, eg    tmp: tmp first</div><div>Then get the value in that slot, eg tmp: tmp value</div><div><br></div><div>You should now have a mirror on the method itself.</div><div><br></div><div>When I do it, the mirror I get has 'traits mirrors method' as a parent, which contains lots of nice behavior such as 'dissasemble' and 'codes'</div><div><br></div><div>Russell</div><div><br></div><br><div><div>On 10/02/2010, at 2:23 PM, Chris Double wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">



<div style="background-color: #fff;">
<span style="display:none"> </span>



    <div id="ygrp-text"><p>Is it possible to see the bytecode that makes up a method of an object? <br>
If so, how? How can I get a reference to an actual method object?<br>
<br>
In trying to find this out I see some interesting objects like <br>
'methodDisassembler<wbr>' and other objects that have <br>
'abstractBytecodeIn<wbr>terpreter' as parents (localAccessFinder for <br>
example). How can these be used? I couldn't find any references of usage <br>
anywhere.<br>
<br>
Chris.<br>
-- <br>
<a href="http://bluishcoder.co.nz/">http://bluishcoder.<wbr>co.nz</a><br>
</p>

    </div>
     

    

</div>



<!-- end group email -->

</blockquote></div><br></body></html>