Revision
1492
Author
lsansonetti@apple.com
Date
2009-04-26 17:53:39 -0700 (Sun, 26 Apr 2009)

Log Message

oops

Modified Paths

Diff

Modified: MacRuby/branches/experimental/roxor.cpp (1491 => 1492)


--- 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),