Skip to content

Commit

Permalink
Mutant pharo-project#526, Reverting [ Replace #ifTrue:ifFalse: receiv…
Browse files Browse the repository at this point in the history
…er with false ] on method [ allocateSlotsInOldSpace:format:classIndex:isPinned: ] 34/34 test case are EQUIVALENT
  • Loading branch information
hogoww committed Feb 25, 2022
1 parent 2e71a15 commit dd049ae
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions smalltalksrc/VMMaker/SpurMemoryManager.class.st
Expand Up @@ -2481,21 +2481,21 @@ SpurMemoryManager >> allocateSlotsInOldSpace: numSlots format: formatField class
{ #category : #allocation }
SpurMemoryManager >> allocateSlotsInOldSpace: numSlots format: formatField classIndex: classIndex isPinned: isPinned [
<inline: true>
^ false
ifTrue: [
self
allocateSlotsForPinningInOldSpace: numSlots
bytes: (self objectBytesForSlots: numSlots)
format: formatField
classIndex: classIndex ]
ifFalse: [
self
allocateSlotsInOldSpace: numSlots
bytes: (self objectBytesForSlots: numSlots)
format: formatField
classIndex: classIndex ]
^ isPinned
ifTrue: [
self
allocateSlotsForPinningInOldSpace: numSlots
bytes: (self objectBytesForSlots: numSlots)
format: formatField
classIndex: classIndex ]
ifFalse: [
self
allocateSlotsInOldSpace: numSlots
bytes: (self objectBytesForSlots: numSlots)
format: formatField
classIndex: classIndex ]
]
{ #category : #allocation }
Expand Down

0 comments on commit dd049ae

Please sign in to comment.