Revision: 4313 http://trac.macosforge.org/projects/ruby/changeset/4313 Author: lsansonetti@apple.com Date: 2010-06-30 17:30:20 -0700 (Wed, 30 Jun 2010) Log Message: ----------- aot: use a global string instead of a const pointer Modified Paths: -------------- MacRuby/trunk/compiler.cpp Modified: MacRuby/trunk/compiler.cpp =================================================================== --- MacRuby/trunk/compiler.cpp 2010-06-30 21:03:49 UTC (rev 4312) +++ MacRuby/trunk/compiler.cpp 2010-07-01 00:30:20 UTC (rev 4313) @@ -5111,7 +5111,7 @@ { Value *args[] = { val, - compile_const_pointer(sel_registerName(type)), + compile_const_global_string(type), new BitCastInst(slot, PtrPtrTy, "", bb) }; return compile_protected_call(getPointerPtrFunc, args, args + 3);
participants (1)
-
source_changes@macosforge.org