Skip to content

Commit

Permalink
Mutant pharo-project#527, Installing [ Replace #ifTrue:ifFalse: recei…
Browse files Browse the repository at this point in the history
…ver with true ] on method [ allocateSlotsInOldSpace:format:classIndex:isPinned: ] 34 test cases.
  • Loading branch information
hogoww committed Feb 25, 2022
1 parent dd049ae commit a7fb6c9
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>
^ 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 ]
<inline: true>
^ true
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 a7fb6c9

Please sign in to comment.