fixed AOT compilation of backquote with a literal string
--- 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;