Fix DCHECK with unsigned int in zone.cc.
R=svenpanne@chromium.org BUG=v8:4037 LOG=N Review URL: https://codereview.chromium.org/1051213005 Cr-Commit-Position: refs/heads/master@{#27909}
This commit is contained in:
parent
14ec8077cc
commit
4e37bd0684
@ -264,8 +264,8 @@ Address Zone::NewExpand(size_t size) {
|
||||
// Check for address overflow.
|
||||
// (Should not happen since the segment is guaranteed to accomodate
|
||||
// size bytes + header and alignment padding)
|
||||
DCHECK_GE(reinterpret_cast<uintptr_t>(position_),
|
||||
reinterpret_cast<uintptr_t>(result));
|
||||
DCHECK(reinterpret_cast<uintptr_t>(position_) >=
|
||||
reinterpret_cast<uintptr_t>(result));
|
||||
limit_ = segment->end();
|
||||
DCHECK(position_ <= limit_);
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user