R=svenpanne@chromium.org
BUG=v8:4037
LOG=N
Review URL: https://codereview.chromium.org/
1051213005
Cr-Commit-Position: refs/heads/master@{#27909}
// 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;