From 50e1c7e58c5a0112599d69700cc4418e4019728b Mon Sep 17 00:00:00 2001 From: hogoww Date: Thu, 23 Dec 2021 12:14:51 +0100 Subject: [PATCH] Mutant #499, Reverting [ Replace #ifTrue:ifFalse: receiver with false ] on method [ setIsRememberedOf:to: ] KILLED by 12/24 test cases. --- smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st b/smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st index 09fc0bcd92..1d9f1e49df 100644 --- a/smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st +++ b/smalltalksrc/VMMaker/Spur64BitMemoryManager.class.st @@ -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' }