Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index d49c29fa244032c9316b1f70d09d5d9d6a7f5867..fccbcee850348aa2fdad7692eb523ee47c2d81a9 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::FIRST_SHAREABLE_RELOC_MODE)); |
} |