Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index 0e9c50ec057e3392a8e13ffcd6bb3b0b324c0e52..22be83874630c27f9af06ccfa8cc6690a398dbb6 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -246,11 +246,9 @@ class OutOfLineRecordWrite final : public OutOfLineCode { |
if (mode_ > RecordWriteMode::kValueIsPointer) { |
__ JumpIfSmi(value_, exit()); |
} |
- if (mode_ > RecordWriteMode::kValueIsMap) { |
- __ CheckPageFlag(value_, scratch0_, |
- MemoryChunk::kPointersToHereAreInterestingMask, zero, |
- exit()); |
- } |
+ __ CheckPageFlag(value_, scratch0_, |
+ MemoryChunk::kPointersToHereAreInterestingMask, zero, |
+ exit()); |
SaveFPRegsMode const save_fp_mode = |
frame()->DidAllocateDoubleRegisters() ? kSaveFPRegs : kDontSaveFPRegs; |
RecordWriteStub stub(isolate(), object_, scratch0_, scratch1_, |