Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index c0939356642a200ce082902693f19a57b4f8742b..1884f549855e26aa7ad31c8e50e6ec8d27c6a03e 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -540,13 +540,13 @@ void MacroAssembler::RememberedSetHelper(Register object, // For debug tests. |
StoreP(scratch, MemOperand(ip)); |
// Call stub on end of buffer. |
// Check for end of buffer. |
- AndP(scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); |
+ AndP(scratch, Operand(StoreBuffer::kStoreBufferMask)); |
if (and_then == kFallThroughAtEnd) { |
- beq(&done, Label::kNear); |
+ bne(&done, Label::kNear); |
} else { |
DCHECK(and_then == kReturnAtEnd); |
- beq(&done, Label::kNear); |
+ bne(&done, Label::kNear); |
} |
push(r14); |
StoreBufferOverflowStub store_buffer_overflow(isolate(), fp_mode); |