Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: src/s390/macro-assembler-s390.cc

Issue 2800813002: PPC/S390: Fix to use correct instr to test bitmask (Closed)
Patch Set: cr0 fix for ppc Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ppc/macro-assembler-ppc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/ppc/macro-assembler-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698