| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 9ea4aaf89aac95fedc96664e9a4f9d38464ab564..110b0d6b7936e6f571629f5a68b36d90ebf8e1a7 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -1791,7 +1791,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| EmitUnwindAndReturn();
|
|
|
| __ bind(&exception);
|
| - __ CallRuntime(Runtime::kThrow);
|
| + __ CallRuntime(IsAsyncFunction(literal()->kind()) ? Runtime::kReThrow
|
| + : Runtime::kThrow);
|
|
|
| __ bind(&suspend);
|
| OperandStackDepthIncrement(1); // Not popped on this path.
|
|
|