[macruby-changes] [4313] MacRuby/trunk/compiler.cpp

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 30 17:30:20 PDT 2010


Revision: 4313
          http://trac.macosforge.org/projects/ruby/changeset/4313
Author:   lsansonetti at 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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100630/e1b75e3b/attachment.html>


More information about the macruby-changes mailing list