Fix, again, assertion so that it also compiles on Mac.
Review URL: http://codereview.chromium.org/993004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4142 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d5f9fd8548
commit
ae9b1088f2
@ -133,8 +133,8 @@ Object* Heap::AllocateRawMap() {
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (!result->IsFailure()) {
|
if (!result->IsFailure()) {
|
||||||
// Maps have their own alignment.
|
// Maps have their own alignment.
|
||||||
CHECK_EQ(static_cast<intptr_t>(kHeapObjectTag),
|
CHECK((reinterpret_cast<intptr_t>(result) & kMapAlignmentMask) ==
|
||||||
reinterpret_cast<intptr_t>(result) & kMapAlignmentMask);
|
static_cast<intptr_t>(kHeapObjectTag));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user