Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 0403e8f9226854bb949a92c42c50aa12af0e3773..da4417a88b61a2ffaf95901861b4937e45ed1fbe 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -695,14 +695,6 @@ class Factory final { |
// Update the cache with a new number-string pair. |
void SetNumberStringCache(Handle<Object> number, Handle<String> string); |
- // Initializes a function with a shared part and prototype. |
- // Note: this code was factored out of NewFunction such that other parts of |
- // the VM could use it. Specifically, a function that creates instances of |
- // type JS_FUNCTION_TYPE benefit from the use of this function. |
- inline void InitializeFunction(Handle<JSFunction> function, |
- Handle<SharedFunctionInfo> info, |
- Handle<Context> context); |
- |
// Creates a function initialized with a shared part. |
Handle<JSFunction> NewFunction(Handle<Map> map, |
Handle<SharedFunctionInfo> info, |