Revision
2936
Author
lsansonetti@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

Diff

Modified: MacRuby/trunk/compiler.cpp (2935 => 2936)


--- 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;