diff --git a/common.gypi b/common.gypi index ba6b791a6ccf82..c19346bffad434 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.9', + 'v8_embedder_string': '-node.10', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/heap/mark-compact.cc b/deps/v8/src/heap/mark-compact.cc index ccd3116e3988c6..28f40d432b0305 100644 --- a/deps/v8/src/heap/mark-compact.cc +++ b/deps/v8/src/heap/mark-compact.cc @@ -2290,7 +2290,9 @@ bool MarkCompactCollector::TransitionArrayNeedsCompaction( #ifdef DEBUG // Targets can only be dead iff this array is fully deserialized. for (int i = 0; i < num_transitions; ++i) { - DCHECK(!non_atomic_marking_state()->IsWhite(transitions.GetTarget(i))); + DCHECK_IMPLIES( + !transitions.GetRawTarget(i).IsSmi(), + !non_atomic_marking_state()->IsWhite(transitions.GetTarget(i))); } #endif return false;