Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 3e5e619199f2f582af14b1dcaf9b1e54f7b6e567..3e3b6d2b7eb89b3947676a7f1d70fcad9e66a72f 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -131,9 +131,9 @@ class BytecodeArrayBuilder final : public ZoneObject { |
BytecodeArrayBuilder& StoreLookupSlot(const Handle<String> name, |
LanguageMode language_mode); |
- // Create a new closure for the SharedFunctionInfo. |
- BytecodeArrayBuilder& CreateClosure(Handle<SharedFunctionInfo> shared_info, |
- int flags); |
+ // Create a new closure for a SharedFunctionInfo which will be inserted at |
+ // constant pool index |entry|. |
+ BytecodeArrayBuilder& CreateClosure(size_t entry, int flags); |
// Create a new arguments object in the accumulator. |
BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type); |