CompiledMethod>>value:withArguments:

Michel Tilman mtilman at acm.org
Tue Dec 28 19:03:22 UTC 1999


Thanks. I tried some of these (they seemed to work or failed when they
should), but

    (Point compiledMethodAt: #x) valueWithReceiver: 3 at 4 arguments: #()

crashes on my machine (Squeak 2.6, Win98), followed by fatal error when
opening the debugger.

michel

> (SmallInteger compiledMethodAt: #+) valueWithReceiver: 3 arguments: #(4).
> (Number compiledMethodAt: #//) valueWithReceiver: 22 arguments: #(7).
> (SmallInteger compiledMethodAt: #+) valueWithReceiver: 3 arguments:
#(foo).
> (Number compiledMethodAt: #negated) valueWithReceiver: 22 arguments: #().
> (Number compiledMethodAt: #negated) valueWithReceiver: 22 arguments: #(7).
> (Point compiledMethodAt: #=) valueWithReceiver: 3 at 4 arguments: #(4).
> (Point compiledMethodAt: #=) valueWithReceiver: 3 arguments: (Array with:
3 at 4).
>
>
> And finally (for the incurably skeptical):
>
> (CompiledMethod compiledMethodAt: #valueWithReceiver:arguments:)
> valueWithReceiver: (SmallInteger compiledMethodAt: #+)
> arguments: #(3 (4))
>





More information about the Squeak-dev mailing list