Revision
3956
Author
lsansonetti@apple.com
Date
2010-04-21 21:23:45 -0700 (Wed, 21 Apr 2010)

Log Message

fix a bug in TypeArity() where stack size annotations were not ignored

Modified Paths

Diff

Modified: MacRuby/trunk/objc.h (3955 => 3956)


--- MacRuby/trunk/objc.h	2010-04-22 04:22:47 UTC (rev 3955)
+++ MacRuby/trunk/objc.h	2010-04-22 04:23:45 UTC (rev 3956)
@@ -157,6 +157,7 @@
     unsigned int arity = 0;
     while (*type != '\0') {
 	type = SkipFirstType(type);
+	type = SkipStackSize(type);
 	arity++;
     }
     return arity;