diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc index e1eaba0b92..c0a3f0d022 100644 --- a/src/heap/mark-compact.cc +++ b/src/heap/mark-compact.cc @@ -2148,7 +2148,7 @@ void MarkCompactCollector::TracePossibleWrapper(JSObject* js_object) { js_object->GetInternalField(0) && js_object->GetInternalField(0) != heap_->undefined_value() && js_object->GetInternalField(1) != heap_->undefined_value()) { - DCHECK(reinterpret_cast(js_object->GetInternalField(0)) % 2 == 1); + DCHECK(reinterpret_cast(js_object->GetInternalField(0)) % 2 == 0); wrappers_to_trace().push_back(std::pair( reinterpret_cast(js_object->GetInternalField(0)), reinterpret_cast(js_object->GetInternalField(1))));