Question: CompiledMethod evaluation

Dwight Hughes dwighth at ipa.net
Thu Jun 8 17:30:54 UTC 2000


Ummmm, I might be misunderstanding what you're wanting to do, but it
seems that what you're wanting can be accomplished simply by using
Object>>perform:/perform:with:.../or perform:withArguments:, without any
need to explicitly retrieve and apply a compiled method. 

-- Dwight

"Gabriel P. A. Casarini" wrote:
> 
> Hi all,
>         I'm working on a project that deals with message sending and reception.
> By now, I need a way to evaluate a CompiledMethod (retrieved from a
> class) on a given receiver (instance of that class)...
> 
> In VisualWorks, there's something to deal with this:
> 
> CompiledMethod >>valueWithReceiver:arguments:
> 
> But, this is not available in Squeak. I guess there must be way to do
> it, as in fact the debugger can do the evaluation of methods.
> 
> Some ideas ??  I'd really appreciate any HELP !!
> 
> Thx
> 
> Gabriel
> _______________________________





More information about the Squeak-dev mailing list