Portability fix: do not use #?
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 19 Jun 2015 06:53:06 +0100
changeset 499 835999517f15
parent 498 f208cca9aea2
child 500 cf3cbf3933f1
Portability fix: do not use #? ...use `notNil ifTrue:[] ifFalse:[]` instead. #? is not supported in Squeak/Pharo
compiler/PPCSequenceNode.st
--- a/compiler/PPCSequenceNode.st	Thu Jun 18 22:11:40 2015 +0100
+++ b/compiler/PPCSequenceNode.st	Fri Jun 19 06:53:06 2015 +0100
@@ -24,7 +24,7 @@
     self children do:[:child |  
         | id |
 
-        id := child name ? 'c'.
+        id := child name notNil ifTrue:[ child name ] ifFalse:[ 'c' ].
         (names includes: id) ifTrue:[ 
             | i |