Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 3d7dba314a1128bca33269556affaa235dfa17be..6af3d6c20cb74107494a278d6441367c65e3a168 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -738,12 +738,12 @@ void MacroAssembler::RememberedSetHelper(Register object, // For debug tests. |
str(scratch, MemOperand(ip)); |
// Call stub on end of buffer. |
// Check for end of buffer. |
- tst(scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); |
+ tst(scratch, Operand(StoreBuffer::kStoreBufferMask)); |
if (and_then == kFallThroughAtEnd) { |
- b(eq, &done); |
+ b(ne, &done); |
} else { |
DCHECK(and_then == kReturnAtEnd); |
- Ret(eq); |
+ Ret(ne); |
} |
push(lr); |
StoreBufferOverflowStub store_buffer_overflow(isolate(), fp_mode); |