Revision: 2936 http://trac.macosforge.org/projects/ruby/changeset/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: -------------- 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;
participants (1)
-
source_changes@macosforge.org