diff --git a/common.gypi b/common.gypi index 73695cac679..5586cbce856 100644 --- a/common.gypi +++ b/common.gypi @@ -44,7 +44,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.7', + 'v8_embedder_string': '-node.8', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8-internal.h b/deps/v8/include/v8-internal.h index 121dfc8e33f..fd8fcda6f5e 100644 --- a/deps/v8/include/v8-internal.h +++ b/deps/v8/include/v8-internal.h @@ -532,7 +532,7 @@ struct TagRange { // Construct the inclusive tag range [first, last]. constexpr TagRange(Tag first, Tag last) : first(first), last(last) { -#ifdef V8_ENABLE_CHECKS +#if defined(V8_ENABLE_CHECKS) && V8_HAS_BUILTIN_UNREACHABLE // This would typically be a DCHECK, but that's not available here. if (first > last) __builtin_unreachable(); // Invalid tag range. #endif