Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index b205c32b0f37010e21ad06d733269c338b136e82..16ae572e320942603e7c9e5ebd85c034811ae29e 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -337,6 +337,11 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CreateClosure( |
return *this; |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CreateFunctionContext(int slots) { |
+ Output(Bytecode::kCreateFunctionContext, UnsignedOperand(slots)); |
+ return *this; |
+} |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::CreateArguments( |
CreateArgumentsType type) { |
// TODO(rmcilroy): Consider passing the type as a bytecode operand rather |