Commit 3ea4ff2e by Richard Kenner

(objc_alignof_type): Handle _C_PTR case.

From-SVN: r10807
parent fef610be
......@@ -111,6 +111,7 @@ objc_sizeof_type(const char* type)
return sizeof(double);
break;
case _C_PTR:
case _C_ATOM:
case _C_CHARPTR:
return sizeof(char*);
......@@ -217,6 +218,7 @@ objc_alignof_type(const char* type)
return __alignof__(double);
break;
case _C_PTR:
case _C_ATOM:
case _C_CHARPTR:
return __alignof__(char*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment