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..667e986698ea699109fed8b17c81faea22f4543c 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(expr->rethrow_on_exception() ? Runtime::kReThrow |
+ : Runtime::kThrow); |
__ bind(&suspend); |
OperandStackDepthIncrement(1); // Not popped on this path. |