Changes

Summary

  1. OCEnvironmentScope just wraps the environment (Smalltalk globals in the (details)
Commit 0740cb1fe8544f09389a8f45c79a1ff11a16aa8a by marcus.denker
OCEnvironmentScope just wraps the environment (Smalltalk globals in the
default case). This is not needed as we can just implement the API
there.
- add the needed API to Dictionary
- yes, this should be *only* on a subclass that is dedicated to be used
for environments, this is future work
- yes, we shoudl not need #hasTempVector there ==> future work
- Change code to use the enviroment as Scope
- move OCEnvironmentScope to deprecated
The extension methods are  kept as Slot extension method together with
the other variable related method that needs to be cleaned with a
refactoring to have a dedicated dictionary for environment (which might
just be SystemDictionary)
(I can't help it but my brain rally loved doing things in a step-by-step
way... I tried to have my own fork to create that *huge* change that
then is perfect... It just does not work for me)
The file was modifiedsrc/OpalCompiler-Core/CompilationContext.class.st (diff)
The file was addedsrc/Deprecated90/OCEnvironmentScope.class.st
The file was modifiedsrc/OpalCompiler-Tests/OCEnvironmentScopeTest.class.st (diff)
The file was modifiedsrc/Slot-Core/Dictionary.extension.st (diff)
The file was removedsrc/OpalCompiler-Core/OCEnvironmentScope.class.st

Summary

  1. OCEnvironmentScope just wraps the environment (Smalltalk globals in the (details)
Commit 0740cb1fe8544f09389a8f45c79a1ff11a16aa8a by marcus.denker
OCEnvironmentScope just wraps the environment (Smalltalk globals in the
default case). This is not needed as we can just implement the API
there.
- add the needed API to Dictionary
- yes, this should be *only* on a subclass that is dedicated to be used
for environments, this is future work
- yes, we shoudl not need #hasTempVector there ==> future work
- Change code to use the enviroment as Scope
- move OCEnvironmentScope to deprecated
The extension methods are  kept as Slot extension method together with
the other variable related method that needs to be cleaned with a
refactoring to have a dedicated dictionary for environment (which might
just be SystemDictionary)
(I can't help it but my brain rally loved doing things in a step-by-step
way... I tried to have my own fork to create that *huge* change that
then is perfect... It just does not work for me)
The file was addedsrc/Deprecated90/OCEnvironmentScope.class.st
The file was modifiedsrc/Slot-Core/Dictionary.extension.st (diff)
The file was modifiedsrc/OpalCompiler-Core/CompilationContext.class.st (diff)
The file was modifiedsrc/OpalCompiler-Tests/OCEnvironmentScopeTest.class.st (diff)
The file was removedsrc/OpalCompiler-Core/OCEnvironmentScope.class.st