Skip to content

Commit

Permalink
Mutant pharo-project#459, Installing [ Replace #ifTrue: receiver with…
Browse files Browse the repository at this point in the history
… false ] on method [ hashBitsOf: ]
  • Loading branch information
hogoww committed Dec 23, 2021
1 parent 702044d commit a44c63d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions smalltalksrc/VMMaker/SpurMemoryManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -5935,16 +5935,16 @@ SpurMemoryManager >> hasYoungReferents: objOop [
{ #category : #'header access' }
SpurMemoryManager >> hashBitsOf: objOop [
| hash |
<inline: false>
| hash |
hash := self rawHashBitsOf: objOop.
hash = 0 ifTrue:
["would like to assert
false ifTrue: [ "would like to assert
self assert: (coInterpreter addressCouldBeClassObj: objOop) not
but instance-specific behaviors that are instances of themselves may
fail this test."
hash := self newHashBitsOf: objOop].
^hash
fail this test."
hash := self newHashBitsOf: objOop ].
^ hash
]
{ #category : #'header format' }
Expand Down

0 comments on commit a44c63d

Please sign in to comment.