Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index d49c29fa244032c9316b1f70d09d5d9d6a7f5867..16c6e26c7fc1ca2ce2f7c01d52de2457c6fdded2 100644 |
--- a/src/arm64/assembler-arm64.cc |
+++ b/src/arm64/assembler-arm64.cc |
@@ -440,7 +440,8 @@ bool ConstPool::CanBeShared(RelocInfo::Mode mode) { |
DCHECK(mode != RelocInfo::NONE32); |
return RelocInfo::IsNone(mode) || |
- (!assm_->serializer_enabled() && (mode >= RelocInfo::CELL)); |
+ (!assm_->serializer_enabled() && |
+ (mode >= RelocInfo::WASM_MEMORY_REFERENCE)); |
} |