bryce@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
'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)]! !