Skip to content
Permalink
Browse files

- forgot some returns

  • Loading branch information
MarcusDenker committed Oct 1, 2019
1 parent 167f949 commit 577b081d456c57c6ed88008630e421bd46c4dc96
@@ -270,7 +270,7 @@ OCAbstractMethodScope >> setCopyingTempToAllScopesUpToDefTemp: aVar to: aValue f
self = aVar scope
ifTrue: [ ^ aVar writeFromLocalContext: aContext put: aValue ].
(self lookupVar: aVar name) writeFromLocalContext: aContext put: aValue.
self outerScope
^self outerScope
setCopyingTempToAllScopesUpToDefTemp: aVar
to: aValue
from: (self nextOuterScopeContextOf: aContext)
@@ -53,5 +53,5 @@ OCCopyingTempVariable >> tempVectorForTempStoringIt [
OCCopyingTempVariable >> writeFromContext: aContext scope: contextScope value: aValue [

"we need to change this var, all the other copies, and the orginal"
contextScope setCopyingTempToAllScopesUpToDefTemp: originalVar to: aValue from: aContext
^contextScope setCopyingTempToAllScopesUpToDefTemp: originalVar to: aValue from: aContext
]
@@ -150,7 +150,7 @@ OCTempVariable >> writeFromContext: aContext scope: contextScope value: aValue [

| definitionContext |
definitionContext := contextScope lookupDefiningContextForVariable: self startingFrom: aContext.
self writeFromLocalContext: definitionContext put: aValue
^self writeFromLocalContext: definitionContext put: aValue
]

{ #category : #debugging }

0 comments on commit 577b081

Please sign in to comment.
You can’t perform that action at this time.