[macruby-changes] [1864] MacRuby/branches/fp-optimized-experimental/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 15 16:58:51 PDT 2009
Revision: 1864
http://trac.macosforge.org/projects/ruby/changeset/1864
Author: pthomson at apple.com
Date: 2009-06-15 16:58:51 -0700 (Mon, 15 Jun 2009)
Log Message:
-----------
Got rid of an embarassing bug in compile_variable_and_floating_node.
Modified Paths:
--------------
MacRuby/branches/fp-optimized-experimental/compiler.cpp
Modified: MacRuby/branches/fp-optimized-experimental/compiler.cpp
===================================================================
--- MacRuby/branches/fp-optimized-experimental/compiler.cpp 2009-06-15 23:04:27 UTC (rev 1863)
+++ MacRuby/branches/fp-optimized-experimental/compiler.cpp 2009-06-15 23:58:51 UTC (rev 1864)
@@ -2041,7 +2041,7 @@
bb = then1BB;
Value *andOp = BinaryOperator::CreateAnd(targetVal, threeVal, "", bb);
- Value *isDouble = new ICmpInst(ICmpInst::ICMP_EQ, andOp, oneVal, "", bb);
+ Value *isDouble = new ICmpInst(ICmpInst::ICMP_EQ, andOp, threeVal, "", bb);
Value *fastEqqVal = NULL;
BasicBlock *fastEqqBB = NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090615/2f3875be/attachment.html>
More information about the macruby-changes
mailing list