Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index b3841d0711da7d6ced3de24c4d53bd73c58407db..47dcd84bae17d64ee1a1fc66136e4467c4ff572c 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -285,11 +285,9 @@ class OutOfLineRecordWrite final : public OutOfLineCode { |
if (mode_ > RecordWriteMode::kValueIsPointer) { |
__ JumpIfSmi(value_, exit()); |
} |
- if (mode_ > RecordWriteMode::kValueIsMap) { |
- __ CheckPageFlagClear(value_, scratch0_, |
- MemoryChunk::kPointersToHereAreInterestingMask, |
- exit()); |
- } |
+ __ CheckPageFlagClear(value_, scratch0_, |
+ MemoryChunk::kPointersToHereAreInterestingMask, |
+ exit()); |
SaveFPRegsMode const save_fp_mode = |
frame()->DidAllocateDoubleRegisters() ? kSaveFPRegs : kDontSaveFPRegs; |
if (!frame()->needs_frame()) { |