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

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

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: regenerate golden files Created 4 years, 4 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 6caae0290c0bc238ce4fbc103be53bacd7e264a6..85ca46b2e0a4767e08f0cbca900efa3b3024bdb3 100644
--- a/src/interpreter/bytecode-array-builder.cc
+++ b/src/interpreter/bytecode-array-builder.cc
@@ -338,6 +338,11 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CreateClosure(size_t entry,
return *this;
}
+BytecodeArrayBuilder& BytecodeArrayBuilder::CreateBlockContext(size_t entry) {
+ Output(Bytecode::kCreateBlockContext, UnsignedOperand(entry));
+ return *this;
+}
+
BytecodeArrayBuilder& BytecodeArrayBuilder::CreateFunctionContext(int slots) {
Output(Bytecode::kCreateFunctionContext, UnsignedOperand(slots));
return *this;

Powered by Google App Engine
This is Rietveld 408576698