Differences From Artifact [b2fb1a5ccb]:
- File
src/OFObject.m
— part of check-in
[16ba7ec477]
at
2012-10-10 10:16:22
on branch trunk
— Provide objc_constructInstance() when necessary.
OS X < 10.6 did not have it, so it is built regardless of the selected
runtime now if objc_constructInstance() hasn't been found. (user: js, size: 25178) [annotate] [blame] [check-ins using]
To Artifact [130a752ea7]:
- File src/OFObject.m — part of check-in [fcade8da38] at 2012-10-21 22:12:57 on branch trunk — Make GCC 4.4 happy. (user: js, size: 25155) [annotate] [blame] [check-ins using]
︙ | |||
184 185 186 187 188 189 190 | 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | - - + | extraAlignment = ((instanceSize + extraAlignment - 1) & ~(extraAlignment - 1)) - extraAlignment; instance = malloc(PRE_IVAR_ALIGN + instanceSize + extraAlignment + extraSize); if OF_UNLIKELY (instance == nil) { |
︙ |