compiler/PPCMessagePredicateNode.st
changeset 421 7e08b31e0dae
parent 392 9b297f0d949c
child 422 116d2b2af905
equal deleted inserted replaced
420:b2f2f15cef26 421:7e08b31e0dae
    35 	compiler add: 'ifFalse: [ self error: ''predicate not found'' ]'.
    35 	compiler add: 'ifFalse: [ self error: ''predicate not found'' ]'.
    36 	compiler add: 'ifTrue: [ context next ].'.
    36 	compiler add: 'ifTrue: [ context next ].'.
    37 	compiler dedent.
    37 	compiler dedent.
    38 ! !
    38 ! !
    39 
    39 
       
    40 !PPCMessagePredicateNode methodsFor:'comparing'!
       
    41 
       
    42 = anotherNode
       
    43 	super = anotherNode ifFalse: [ ^ false ].
       
    44 	^ message = anotherNode message.
       
    45 !
       
    46 
       
    47 hash
       
    48 	^ super hash bitXor: message hash
       
    49 ! !
       
    50