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

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 22 18:54:01 PDT 2009


Revision: 2610
          http://trac.macosforge.org/projects/ruby/changeset/2610
Author:   vincent.isambart at gmail.com
Date:     2009-09-22 18:54:01 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
fixed the return value of a function (found by the module verifier)

Modified Paths:
--------------
    MacRuby/trunk/compiler.cpp

Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp	2009-09-23 00:58:39 UTC (rev 2609)
+++ MacRuby/trunk/compiler.cpp	2009-09-23 01:54:01 UTC (rev 2610)
@@ -6804,7 +6804,7 @@
 {
     // VALUE foo(void *ocval);
     Function *f = cast<Function>(module->getOrInsertFunction("",
-		Type::VoidTy, PtrTy, NULL));
+		RubyObjTy, PtrTy, NULL));
     Function::arg_iterator arg = f->arg_begin();
     Value *ocval = arg++;
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090922/dc5202f2/attachment.html>


More information about the macruby-changes mailing list