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

Unified Diff: src/interpreter/bytecode-array-builder.cc

Issue 1884183002: First version of the new generators implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 8 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-array-builder.cc
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
index 109b01eab321fbe067630362b3e66f67f5d7718c..f664349dd44b9952326bef8d8688a5297337bebe 100644
--- a/src/interpreter/bytecode-array-builder.cc
+++ b/src/interpreter/bytecode-array-builder.cc
@@ -896,6 +896,11 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::Return() {
return *this;
}
+BytecodeArrayBuilder& BytecodeArrayBuilder::Illegal() {
+ Output(Bytecode::kIllegal);
+ return *this;
+}
+
BytecodeArrayBuilder& BytecodeArrayBuilder::Debugger() {
Output(Bytecode::kDebugger);
return *this;

Powered by Google App Engine
This is Rietveld 408576698