[macruby-changes] [1625] MacRuby/branches/experimental/compiler.cpp

source_changes at macosforge.org source_changes at macosforge.org
Thu May 28 15:07:58 PDT 2009


Revision: 1625
          http://trac.macosforge.org/projects/ruby/changeset/1625
Author:   lsansonetti at apple.com
Date:     2009-05-28 15:07:57 -0700 (Thu, 28 May 2009)
Log Message:
-----------
misc bug fix

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

Modified: MacRuby/branches/experimental/compiler.cpp
===================================================================
--- MacRuby/branches/experimental/compiler.cpp	2009-05-28 21:25:02 UTC (rev 1624)
+++ MacRuby/branches/experimental/compiler.cpp	2009-05-28 22:07:57 UTC (rev 1625)
@@ -5070,12 +5070,14 @@
     if (is_objc) {
 	// self
 	p = SkipFirstType(p);
+	p = SkipStackSize(p);
 	f_types.push_back(RubyObjTy);
 	Value *self_arg = arg++;
 	params.push_back(self_arg);
 
 	// sel
 	p = SkipFirstType(p);
+	p = SkipStackSize(p);
 	f_types.push_back(PtrTy);
 	Value *sel_arg = arg++;
 	params.push_back(sel_arg);
@@ -5224,9 +5226,11 @@
     // self
     f_types.push_back(RubyObjTy);
     p = SkipFirstType(p);
+    p = SkipStackSize(p);
     // sel
     f_types.push_back(PtrTy);
     p = SkipFirstType(p);
+    p = SkipStackSize(p);
     // Arguments.
     std::vector<std::string> arg_types;
     std::vector<unsigned int> byval_args;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090528/9445fbff/attachment-0001.html>


More information about the macruby-changes mailing list