1. next step: (details)
Commit cd33ba98712f8e74a591c66b2fd7e34fadf70fc5 by marcus.denker
next step:
- re-categorize methods a bit
- use #streamContents to simplify two methods
- instead of lookupAndReadVar: name inContext: aContext I added a method
to return the context where the variable is defined:
lookupDefiningContextFor: name startingFrom: aContext
- this way we can fix the write methods, too, to store in the correct
- this means that we do not need indexFromIRFromScope: anymore, as we
now always use the offset of the defintion context
The file was modifiedsrc/OpalCompiler-Core/OCBlockScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCMethodScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCCopyingTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractScope.class.st (diff)