From 9fba7598161d0b2e547ad522d424f8a2a05cdf67 Mon Sep 17 00:00:00 2001 From: James Chen Date: Sat, 30 Sep 2023 21:18:54 +0800 Subject: [PATCH] PATCH: Fix v8 11.7 32 bit build. Remove unneeded static_assert in maglev-code-generator.cc --- src/maglev/maglev-code-generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maglev/maglev-code-generator.cc b/src/maglev/maglev-code-generator.cc index e5ec70c95..271a311e7 100644 --- a/src/maglev/maglev-code-generator.cc +++ b/src/maglev/maglev-code-generator.cc @@ -419,7 +419,7 @@ class ParallelMoveResolver { void EmitMovesFromSource(RegisterT source_reg, GapMoveTargets&& targets) { DCHECK(moves_from_register_[source_reg.code()].is_empty()); if constexpr (DecompressIfNeeded) { - static_assert(COMPRESS_POINTERS_BOOL); + // static_assert(COMPRESS_POINTERS_BOOL); if (targets.needs_decompression == kNeedsDecompression) { __ DecompressTagged(source_reg, source_reg); } @@ -462,7 +462,7 @@ class ParallelMoveResolver { // Decompress after the first move, subsequent moves reuse this register so // they're guaranteed to be decompressed. if constexpr (DecompressIfNeeded) { - static_assert(COMPRESS_POINTERS_BOOL); + // static_assert(COMPRESS_POINTERS_BOOL); if (targets.needs_decompression == kNeedsDecompression) { __ DecompressTagged(register_with_slot_value, register_with_slot_value); targets.needs_decompression = kDoesNotNeedDecompression;