Subject: [BUG]ExuperyBlockContext(Object)>>doesNotUnderstand:
#startpc
Markus Fritsche
fritsche.markus at gmx.net
Sun Oct 5 16:26:17 UTC 2008
bryce at kampjes.demon.co.uk schrieb:
> > Just curious, what are you doing to hit a new method so quickly?
Something like "stress testing" without having a clue ;-)
> Try adding:
> ExuperyBlockContext>>startpc
> ^ Exupery byteCodeAddressFor: initialCompiledBlock
Thx! I attached another method of the BlockContext protocol
-------------- next part --------------
'From Squeak3.10.2 of ''5 June 2008'' [latest update: #7179] on 5 October 2008 at 6:23:55 pm'!
!ExuperyBlockContext methodsFor: 'as yet unclassified' stamp: 'maf 10/5/2008 18:23'!
valueWithPossibleArgument: anArg
"Evaluate the block represented by the receiver.
If the block requires one argument, use anArg, if it requires more than one,
fill up the rest with nils."
self numArgs = 0 ifTrue: [^self value].
self numArgs = 1 ifTrue: [^self value: anArg].
self numArgs > 1 ifTrue: [^self valueWithArguments: {anArg}, (Array new: self numArgs - 1)]! !
More information about the Exupery
mailing list