[macruby-changes] [1492] MacRuby/branches/experimental/roxor.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 26 17:53:39 PDT 2009


Revision: 1492
          http://trac.macosforge.org/projects/ruby/changeset/1492
Author:   lsansonetti at apple.com
Date:     2009-04-26 17:53:39 -0700 (Sun, 26 Apr 2009)
Log Message:
-----------
oops

Modified Paths:
--------------
    MacRuby/branches/experimental/roxor.cpp

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-04-26 08:26:47 UTC (rev 1491)
+++ MacRuby/branches/experimental/roxor.cpp	2009-04-27 00:53:39 UTC (rev 1492)
@@ -9399,7 +9399,8 @@
     // Third is an array of arguments.
     Value *argv;
     if (argc == 0) {
-	argv = compile_const_pointer(NULL);
+	argv = new BitCastInst(compile_const_pointer(NULL), RubyObjPtrTy,
+		"", bb);
     }
     else {
 	argv = new AllocaInst(RubyObjTy, ConstantInt::get(Type::Int32Ty, argc),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090426/9bd025fd/attachment.html>


More information about the macruby-changes mailing list