[macruby-changes] [2936] MacRuby/trunk/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sun Nov 1 18:44:16 PST 2009
Revision: 2936
http://trac.macosforge.org/projects/ruby/changeset/2936
Author: lsansonetti at apple.com
Date: 2009-11-01 18:44:13 -0800 (Sun, 01 Nov 2009)
Log Message:
-----------
fixed AOT compilation of backquote with a literal string
Modified Paths:
--------------
MacRuby/trunk/compiler.cpp
Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp 2009-10-31 05:50:02 UTC (rev 2935)
+++ MacRuby/trunk/compiler.cpp 2009-11-02 02:44:13 UTC (rev 2936)
@@ -3641,7 +3641,7 @@
}
else {
assert(node->nd_lit != 0);
- str = ConstantInt::get(RubyObjTy, node->nd_lit);
+ str = compile_literal(node->nd_lit);
}
std::vector<Value *> params;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091101/1dbc70e3/attachment.html>
More information about the macruby-changes
mailing list