compiler/PPCNotMessagePredicateNode.st
changeset 421 7e08b31e0dae
parent 414 0eaf09920532
child 422 116d2b2af905
equal deleted inserted replaced
420:b2f2f15cef26 421:7e08b31e0dae
    43 	compiler add: ' ifTrue: [ self error: '' predicate not expected'' ]'.
    43 	compiler add: ' ifTrue: [ self error: '' predicate not expected'' ]'.
    44 	compiler add: ' ifFalse: [ nil ].'.
    44 	compiler add: ' ifFalse: [ nil ].'.
    45 	compiler dedent.
    45 	compiler dedent.
    46 ! !
    46 ! !
    47 
    47 
       
    48 !PPCNotMessagePredicateNode methodsFor:'comparison'!
       
    49 
       
    50 = anotherNode
       
    51 	super = anotherNode ifFalse: [ ^ false ].
       
    52 	^ message = anotherNode message.
       
    53 !
       
    54 
       
    55 hash
       
    56 	^ super hash bitXor: message hash
       
    57 ! !
       
    58