[macruby-changes] [2661] MacRuby/trunk/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sun Sep 27 20:40:13 PDT 2009
Revision: 2661
http://trac.macosforge.org/projects/ruby/changeset/2661
Author: vincent.isambart at gmail.com
Date: 2009-09-27 20:40:10 -0700 (Sun, 27 Sep 2009)
Log Message:
-----------
Constants do not need an instruction for a BitCast
Modified Paths:
--------------
MacRuby/trunk/compiler.cpp
Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp 2009-09-27 18:31:47 UTC (rev 2660)
+++ MacRuby/trunk/compiler.cpp 2009-09-28 03:40:10 UTC (rev 2661)
@@ -1814,8 +1814,7 @@
module->getOrInsertFunction("__gxx_personality_v0",
PtrTy, NULL));
}
- params.push_back(new BitCastInst(__gxx_personality_v0_func,
- PtrTy, "", bb));
+ params.push_back(ConstantExpr::getBitCast(__gxx_personality_v0_func, PtrTy));
if (eh_type == typeid(void)) {
// catch (...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090927/53aee112/attachment.html>
More information about the macruby-changes
mailing list