summaryrefslogtreecommitdiff
path: root/deps/v8/src/profiler/heap-snapshot-generator-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/profiler/heap-snapshot-generator-inl.h')
-rw-r--r--deps/v8/src/profiler/heap-snapshot-generator-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/profiler/heap-snapshot-generator-inl.h b/deps/v8/src/profiler/heap-snapshot-generator-inl.h
index 599b5d9d92..83f210e86a 100644
--- a/deps/v8/src/profiler/heap-snapshot-generator-inl.h
+++ b/deps/v8/src/profiler/heap-snapshot-generator-inl.h
@@ -39,7 +39,7 @@ int HeapEntry::set_children_index(int index) {
}
std::deque<HeapGraphEdge*>::iterator HeapEntry::children_begin() {
- DCHECK(children_index_ >= 0);
+ DCHECK_GE(children_index_, 0);
SLOW_DCHECK(
children_index_ < static_cast<int>(snapshot_->children().size()) ||
(children_index_ == static_cast<int>(snapshot_->children().size()) &&