compiler/PPCNode.st
changeset 534 a949c4fe44df
parent 525 751532c8f3db
equal deleted inserted replaced
533:666372dbe307 534:a949c4fe44df
   309 hash
   309 hash
   310     "TODO JK: IMO not a good hashing function bacause of children size, 
   310     "TODO JK: IMO not a good hashing function bacause of children size, 
   311         but at least it is not recursive, which would be worse :)
   311         but at least it is not recursive, which would be worse :)
   312     "
   312     "
   313     ^ self class hash bitXor: (name hash bitXor: (self isMarkedForInline hash bitXor: (self children size hash)))
   313     ^ self class hash bitXor: (name hash bitXor: (self isMarkedForInline hash bitXor: (self children size hash)))
       
   314 ! !
       
   315 
       
   316 !PPCNode methodsFor:'converting'!
       
   317 
       
   318 asCompilerTree
       
   319     ^ self
       
   320 
       
   321     "Created: / 29-08-2015 / 07:43:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   314 ! !
   322 ! !
   315 
   323 
   316 !PPCNode methodsFor:'copying'!
   324 !PPCNode methodsFor:'copying'!
   317 
   325 
   318 postCopy
   326 postCopy