Skip to content

Commit

Permalink
PATCH: Fix v8 11.7 32 bit build. Remove unneeded static_assert in mag…
Browse files Browse the repository at this point in the history
…lev-code-generator.cc
  • Loading branch information
dumganhar committed Sep 30, 2023
1 parent 6083078 commit 9fba759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maglev/maglev-code-generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9fba759

Please sign in to comment.