Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index 6f2c4f71f09addf0a15b9b67531313886c45272e..80f559dd47488d0e52370134583ecce597710f87 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -672,7 +672,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
// Store input value into generator object. |
Label async_await, done_store_input; |
- __ And(r6, r6, Operand(static_cast<int>(SuspendFlags::kAsyncGeneratorAwait))); |
+ __ andi(r6, r6, |
+ Operand(static_cast<int>(SuspendFlags::kAsyncGeneratorAwait))); |
__ cmpi(r6, Operand(static_cast<int>(SuspendFlags::kAsyncGeneratorAwait))); |
__ beq(&async_await); |