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