Skip to content

Commit

Permalink
- forgot some returns
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Oct 1, 2019
1 parent 167f949 commit 577b081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OpalCompiler-Core/OCAbstractMethodScope.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/OpalCompiler-Core/OCCopyingTempVariable.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
2 changes: 1 addition & 1 deletion src/OpalCompiler-Core/OCTempVariable.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 577b081

Please sign in to comment.