| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 3dea3bc18b16b07b790135ed02cd314faf4512e7..3292c1030bd0c5d38fdfb7248e74949c0f71f26d 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -2158,8 +2158,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| Label suspend, continuation, post_runtime, resume;
|
|
|
| __ jmp(&suspend);
|
| -
|
| __ bind(&continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ jmp(&resume);
|
|
|
| __ bind(&suspend);
|
| @@ -2230,9 +2230,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| EnterTryBlock(handler_index, &l_catch);
|
| const int try_block_size = TryCatch::kElementCount * kPointerSize;
|
| __ push(r0); // result
|
| +
|
| __ jmp(&l_suspend);
|
| __ bind(&l_continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ jmp(&l_resume);
|
| +
|
| __ bind(&l_suspend);
|
| const int generator_object_depth = kPointerSize + try_block_size;
|
| __ ldr(r0, MemOperand(sp, generator_object_depth));
|
|
|