| Index: src/x87/full-codegen-x87.cc
|
| diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc
|
| index ffebbe3effad018dc4ed6de19edb4a6ad6a35b6b..6a1565080e30939121fb7c852d94133b001f3e3a 100644
|
| --- a/src/x87/full-codegen-x87.cc
|
| +++ b/src/x87/full-codegen-x87.cc
|
| @@ -2084,8 +2084,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| Label suspend, continuation, post_runtime, resume;
|
|
|
| __ jmp(&suspend);
|
| -
|
| __ bind(&continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ jmp(&resume);
|
|
|
| __ bind(&suspend);
|
| @@ -2158,9 +2158,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| EnterTryBlock(handler_index, &l_catch);
|
| const int try_block_size = TryCatch::kElementCount * kPointerSize;
|
| __ push(eax); // result
|
| +
|
| __ jmp(&l_suspend);
|
| __ bind(&l_continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ jmp(&l_resume);
|
| +
|
| __ bind(&l_suspend);
|
| const int generator_object_depth = kPointerSize + try_block_size;
|
| __ mov(eax, Operand(esp, generator_object_depth));
|
|
|