[macruby-changes] [2031] MacRuby/branches/experimental/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 16 20:39:38 PDT 2009
Revision: 2031
http://trac.macosforge.org/projects/ruby/changeset/2031
Author: lsansonetti at apple.com
Date: 2009-07-16 20:39:38 -0700 (Thu, 16 Jul 2009)
Log Message:
-----------
fixed a compilation error in NODE_OP_ASGN1 (ex: a[1]||=1+1)
Modified Paths:
--------------
MacRuby/branches/experimental/compiler.cpp
Modified: MacRuby/branches/experimental/compiler.cpp
===================================================================
--- MacRuby/branches/experimental/compiler.cpp 2009-07-17 02:45:04 UTC (rev 2030)
+++ MacRuby/branches/experimental/compiler.cpp 2009-07-17 03:39:38 UTC (rev 2031)
@@ -3138,9 +3138,10 @@
}
BranchInst::Create(mergeBB, untouchedBB);
+
bb = touchedBB;
-
tmp2 = compile_node(value);
+ touchedBB = bb;
}
else {
ID mid = nd_type(node) == NODE_OP_ASGN1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090716/3e0258d3/attachment-0001.html>
More information about the macruby-changes
mailing list