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

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 22 19:30:01 PDT 2009


Revision: 2611
          http://trac.macosforge.org/projects/ruby/changeset/2611
Author:   vincent.isambart at gmail.com
Date:     2009-09-22 19:29:57 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
fixed an other mistake found by the module verifier (this time the
position of the sret attribute)

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

Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp	2009-09-23 01:54:01 UTC (rev 2610)
+++ MacRuby/trunk/compiler.cpp	2009-09-23 02:29:57 UTC (rev 2611)
@@ -6698,7 +6698,7 @@
     if (f_sret_type != NULL) {
 	sret = arg++;
 	sret_i = 1;
-	f->addAttribute(0, Attribute::StructRet);
+	f->addAttribute(1, Attribute::StructRet);
     }
     for (std::vector<unsigned int>::iterator iter = byval_args.begin();
 	 iter != byval_args.end(); ++iter) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090922/98ad8583/attachment-0001.html>


More information about the macruby-changes mailing list