Sept. 4, 2013
1:06 p.m.
Am 04.09.2013 um 14:19 schrieb Norbert Hartl <norbert@hartl.name>:
interleavedCtx := [ | foo | foo := self dummySend ⦠]
It doesn't work with a temp inside the block. Using a method temp does what I think it does. So the very hackish way of doing it is at the moment | foo | ... interleavedCtx := [ foo := self dummy. ⦠foo ] asContext. interleavedCtx pc: intermediateCtx startpc + 2. interleavedCtx swapSender: (targetCtx swapSender: interleavedCtx) I hope there is a more elaborate way of doing this (beside calculating the byte code offset more reliable). Norbert