| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 978c0799f59d19c9bf0e495ec7a22c7e67f391b0..693f7e8104da755c82fbb3c7ab6290c888d754fe 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -2152,8 +2152,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| Label suspend, continuation, post_runtime, resume;
|
|
|
| __ jmp(&suspend);
|
| -
|
| __ bind(&continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ jmp(&resume);
|
|
|
| __ bind(&suspend);
|
| @@ -2224,10 +2224,13 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| EnterTryBlock(handler_index, &l_catch);
|
| const int try_block_size = TryCatch::kElementCount * kPointerSize;
|
| __ push(a0); // result
|
| +
|
| __ jmp(&l_suspend);
|
| __ bind(&l_continuation);
|
| + __ RecordGeneratorContinuation();
|
| __ mov(a0, v0);
|
| __ jmp(&l_resume);
|
| +
|
| __ bind(&l_suspend);
|
| const int generator_object_depth = kPointerSize + try_block_size;
|
| __ lw(a0, MemOperand(sp, generator_object_depth));
|
|
|