[macruby-changes] [1674] MacRuby/branches/experimental/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sat May 30 22:07:14 PDT 2009
Revision: 1674
http://trac.macosforge.org/projects/ruby/changeset/1674
Author: lsansonetti at apple.com
Date: 2009-05-30 22:07:13 -0700 (Sat, 30 May 2009)
Log Message:
-----------
fixed a bug in the optimization of #send where the basic block created by the exception handler was not honored
Modified Paths:
--------------
MacRuby/branches/experimental/compiler.cpp
Modified: MacRuby/branches/experimental/compiler.cpp
===================================================================
--- MacRuby/branches/experimental/compiler.cpp 2009-05-31 03:55:38 UTC (rev 1673)
+++ MacRuby/branches/experimental/compiler.cpp 2009-05-31 05:07:13 UTC (rev 1674)
@@ -1941,10 +1941,12 @@
new_params.push_back(params[7 + i]);
}
Value *thenVal = compile_dispatch_call(new_params);
+ thenBB = bb;
BranchInst::Create(mergeBB, thenBB);
bb = elseBB;
Value *elseVal = compile_dispatch_call(params);
+ elseBB = bb;
BranchInst::Create(mergeBB, elseBB);
bb = mergeBB;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090530/8add3f2b/attachment.html>
More information about the macruby-changes
mailing list