Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 97d5a45d846e6afc54785526f52e3c6909bb5bc2..4b3e9f08e870c9cb9da5f3f6f2de5e6f31a987c9 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -2149,8 +2149,8 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
Label suspend, continuation, post_runtime, resume; |
__ jmp(&suspend); |
- |
__ bind(&continuation); |
+ __ RecordGeneratorContinuation(); |
__ jmp(&resume); |
__ bind(&suspend); |
@@ -2220,10 +2220,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; |
__ ld(a0, MemOperand(sp, generator_object_depth)); |