Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index fd49267154128a082e629382376e2182eba71925..e5025a72f38f38210acd6358ae38d5c513aa4b09 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -72,6 +72,9 @@ class BytecodeArrayBuilder { |
int feedback_slot, |
LanguageMode language_mode); |
+ // Create a new closure for the SharedFunctionInfo in the accumulator. |
+ BytecodeArrayBuilder& CreateClosure(PretenureFlag tenured); |
+ |
// Call a JS function. The JSFunction or Callable to be called should be in |
// |callable|, the receiver should be in |receiver| and all subsequent |
// arguments should be in registers <receiver + 1> to |