SuccessChanges

Summary

  1. This is the next step for simplifying temp reading in contexts. (details)
  2. - simplify #lookupAndReadVar: inContext: to call itself for recursion, (details)
Commit 8ddec86e97389822f1ce6778b4bb4cd30f3e43ce by marcus.denker
This is the next step for simplifying temp reading in contexts.
- add #indexFromIR
- use it in what was readFromContext:scope:, rename it to
#readFromContext: (as it does need the scope)
- rename #searchFromContext:scope: to be #readFromContext:scope:
- for arguments: make clear that writing is not possible
Much better... more steps will be done after this (the goal is to remove
the #scope: parameter and make it even simpler)
The file was modifiedsrc/OpalCompiler-Core/OCTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCCopyingTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCArgumentVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCVectorTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)
The file was modifiedsrc/Debugging-Core/Context.extension.st (diff)
The file was modifiedsrc/OpalCompiler-Core/DebuggerMethodMapOpal.class.st (diff)
Commit f2bce7617f69ebd5e9ce661b02950a5176f749f2 by marcus.denker
- simplify #lookupAndReadVar: inContext: to call itself for recursion,
not the helper method - this allows us to remove  #outerScopeLookupVar:
inContext: - first step to fix copying temp writing: update the orginal
var, too
The file was modifiedsrc/OpalCompiler-Core/OCCopyingTempVariable.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCBlockScope.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)