Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index 687bf14095f8981ecf711937f881fa8f74dfe64a..bd6f962a8487895241f51da0867596e2cced3fe8 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -2413,8 +2413,7 @@ void MacroAssembler::AssertGeneratorObject(Register object, Register flags) { |
LoadP(map, FieldMemOperand(object, HeapObject::kMapOffset)); |
Label async, do_check; |
- And(ip, flags, Operand(static_cast<int>(SuspendFlags::kGeneratorTypeMask))); |
- CmpP(ip, Operand(static_cast<int>(SuspendFlags::kGeneratorTypeMask))); |
+ tmll(flags, Operand(static_cast<int>(SuspendFlags::kGeneratorTypeMask))); |
bne(&async); |
// Check if JSGeneratorObject |