| Index: base/process_util_unittest_mac.mm
|
| ===================================================================
|
| --- base/process_util_unittest_mac.mm (revision 41762)
|
| +++ base/process_util_unittest_mac.mm (working copy)
|
| @@ -8,13 +8,10 @@
|
|
|
| @interface PsychoticallyBigObjCObject : NSObject
|
| {
|
| -#if __LP64__
|
| - // On 64 bits, Objective C objects have no size limit that I can find.
|
| - int tooBigToCount_[0xF000000000000000U / sizeof(int)];
|
| -#else
|
| - // On 32 bits, Objective C objects must be < 2G in size.
|
| + // On 32 bits, the compiler limits Objective C objects to < 2G in size, and on
|
| + // 64 bits, the ObjC2 Runtime Reference says that sizeof(anInstance) is
|
| + // constrained to 32 bits. Keep it < 2G for simplicity.
|
| int justUnder2Gigs_[(2U * 1024 * 1024 * 1024 - 1) / sizeof(int)];
|
| -#endif
|
| }
|
|
|
| @end
|
|
|