Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: src/interpreter/bytecode-generator.cc

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: properly rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/bytecode-generator.cc
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
index 10e3f903179f8c97bf4a15cf51892ac11c98b574..54b7173c9c4f9a6b2ce79bf7fef5000a0f9b88a3 100644
--- a/src/interpreter/bytecode-generator.cc
+++ b/src/interpreter/bytecode-generator.cc
@@ -685,8 +685,8 @@ void BytecodeGenerator::VisitIterationHeader(IterationStatement* stmt,
->LoadLiteral(Smi::FromInt(JSGeneratorObject::kGeneratorExecuting))
.CompareOperation(Token::Value::EQ, generator_state_)
.JumpIfTrue(&not_resuming);
- BuildIndexedJump(generator_state_, first_yield,
- stmt->yield_count(), generator_resume_points_);
+ BuildIndexedJump(generator_state_, first_yield, stmt->yield_count(),
+ generator_resume_points_);
builder()->Bind(&not_resuming);
}
}

Powered by Google App Engine
This is Rietveld 408576698