You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
executedPC
"Deeper in the stack the pc was already advanced one bytecode, so we need to go back
this one bytecode, which can consist of multiple bytes. But on IR, we record the *last*
bytecode offset as the offset of the IR instruction, which means we can just go back one"
"if we are at the start, return the startpc"
(pc == self startpc) ifTrue: [ ^self startpc ].
"we need to guard for dead contexts (pc is nil)"
^self isDead ifTrue: [ self endPC - 1] ifFalse: [ pc - 1]
is currently packaged in CompilerCore but this method could be packaged in the Context class package.
No need for an extension.
The text was updated successfully, but these errors were encountered:
is currently packaged in CompilerCore but this method could be packaged in the Context class package.
The text was updated successfully, but these errors were encountered: