[macruby-changes] [5277] MacRuby/trunk/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 14 11:50:44 PDT 2011
Revision: 5277
http://trac.macosforge.org/projects/ruby/changeset/5277
Author: lsansonetti at apple.com
Date: 2011-03-14 11:50:42 -0700 (Mon, 14 Mar 2011)
Log Message:
-----------
fix a jit compilation error that could happen with the new llvm
Modified Paths:
--------------
MacRuby/trunk/compiler.cpp
Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp 2011-03-11 23:33:02 UTC (rev 5276)
+++ MacRuby/trunk/compiler.cpp 2011-03-14 18:50:42 UTC (rev 5277)
@@ -6769,6 +6769,7 @@
bb = BasicBlock::Create(context, "EntryBlock", f);
argc = CallInst::Create(lengthArrayFunc, argv_ary, "", bb);
+ argc = new TruncInst(argc, Int32Ty, "", bb);
argv = CallInst::Create(ptrArrayFunc, argv_ary, "", bb);
}
else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20110314/150915d1/attachment.html>
More information about the macruby-changes
mailing list