Merge jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 02 Sep 2016 17:35:56 +0100
branchjv
changeset 3967 706e93959a9c
parent 3966 7399600c96cf (current diff)
parent 3961 1148f204a97d (diff)
child 3968 4e4f134b6e26
child 3969 a18a6665084f
Merge
ParserFlags.st
--- a/BinaryNode.st	Wed Aug 31 22:47:55 2016 +0100
+++ b/BinaryNode.st	Fri Sep 02 17:35:56 2016 +0100
@@ -151,6 +151,9 @@
                 "/ disabled this, since it is confusing if the error is reported
                 "/ by the argument as receiver (i.e. transforms 1+foo into foo+1)
                 "/ and it might also be incorrect.
+                "/ correct would be to encode it with a reverse-plus1 opCode,
+                "/ which checks for int/float args and does a reverse send as fallback.
+                "/ The jitter does that already, so we don't care on the bytecode level.
 "/                (selector == #+) ifTrue:[
 "/                    (recVal == 1) ifTrue:[
 "/                        arg1 codeOn:aStream inBlock:b for:aCompiler.