Skip to content

Commit

Permalink
Mutant pharo-project#499, Reverting [ Replace #ifTrue:ifFalse: receiv…
Browse files Browse the repository at this point in the history
…er with false ] on method [ setIsRememberedOf:to: ] KILLED by 12/24 test cases.
  • Loading branch information
hogoww committed Dec 23, 2021
1 parent 722b983 commit 50e1c7e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -995,13 +995,10 @@ Spur64BitMemoryManager >> setIsPinnedOf: objOop to: aBoolean [

{ #category : #'header access' }
Spur64BitMemoryManager >> setIsRememberedOf: objOop to: aBoolean [

self longAt: objOop put: (false
ifTrue: [
(self longAt: objOop) bitOr: 1 << self rememberedBitShift ]
ifFalse: [
(self longAt: objOop) bitAnd:
(1 << self rememberedBitShift) bitInvert64 ])
self longAt: objOop
put: (aBoolean
ifTrue: [(self longAt: objOop) bitOr: 1 << self rememberedBitShift]
ifFalse: [(self longAt: objOop) bitAnd: (1 << self rememberedBitShift) bitInvert64])
]

{ #category : #'word size' }
Expand Down

0 comments on commit 50e1c7e

Please sign in to comment.