List Info

Thread: Fix (3 perform: #~= with: 3.0)




Fix (3 perform: #~= with: 3.0)
country flaguser name
Switzerland
2007-12-10 01:18:42
This stupid (almost embarrassing...) bug happens because, in
the more 
common idiom "3 ~= 3.0", the VM optimizes out the
method calls.  In the 
case of the JIT however this does not happen, and this
causes the 
simpler idiom to fail as well (and the Complex package to
fail the test 
suite).

While not perfect, the testsuite results are good enough.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Fix (3 perform: #~= with: 3.0)
country flaguser name
Switzerland
2007-12-10 01:55:25
Paolo Bonzini wrote:
> This stupid (almost embarrassing...) bug happens
because, in the more 
> common idiom "3 ~= 3.0", the VM optimizes out
the method calls.  In the 
> case of the JIT however this does not happen, and this
causes the 
> simpler idiom to fail as well (and the Complex package
to fail the test 
> suite).
> 
> While not perfect, the testsuite results are good
enough.

Ehm, the patch.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )