| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 1e5d514d6ec2de70fa7b96aad0d535597a620252..aaeffa8f37deccee9e58146929aee7a46554772a 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -1833,7 +1833,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.
|
|
|