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..7fd6e23a585c3e9a5b10ccd7f5118e60d1b5d162 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -338,6 +338,13 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CreateClosure(size_t entry, |
return *this; |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CreateBlockContext( |
+ Handle<ScopeInfo> scope_info) { |
+ size_t entry = GetConstantPoolEntry(scope_info); |
+ Output(Bytecode::kCreateBlockContext, UnsignedOperand(entry)); |
+ return *this; |
+} |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::CreateFunctionContext(int slots) { |
Output(Bytecode::kCreateFunctionContext, UnsignedOperand(slots)); |
return *this; |