Revision: 4142 Author: [email protected] Date: Tue Mar 16 03:38:17 2010 Log: Fix, again, assertion so that it also compiles on Mac.
Review URL: http://codereview.chromium.org/993004 http://code.google.com/p/v8/source/detail?r=4142 Modified: /branches/bleeding_edge/src/heap-inl.h ======================================= --- /branches/bleeding_edge/src/heap-inl.h Tue Mar 16 02:56:06 2010 +++ /branches/bleeding_edge/src/heap-inl.h Tue Mar 16 03:38:17 2010 @@ -133,8 +133,8 @@ #ifdef DEBUG if (!result->IsFailure()) { // Maps have their own alignment. - CHECK_EQ(static_cast<intptr_t>(kHeapObjectTag), - reinterpret_cast<intptr_t>(result) & kMapAlignmentMask); + CHECK((reinterpret_cast<intptr_t>(result) & kMapAlignmentMask) == + static_cast<intptr_t>(kHeapObjectTag)); } #endif return result; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
