Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b51fa73087e1063a4ad4da1e604a61a8a90f5010..844f978d63a3ae8dc87ed8844d86601929ab29e4 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2042,16 +2042,13 @@ void Factory::ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> object, |
object->set_hash(*hash); |
} |
- |
Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
Handle<String> name, int number_of_literals, FunctionKind kind, |
- Handle<Code> code, Handle<ScopeInfo> scope_info, |
- Handle<TypeFeedbackVector> feedback_vector) { |
+ Handle<Code> code, Handle<ScopeInfo> scope_info) { |
DCHECK(IsValidFunctionKind(kind)); |
Handle<SharedFunctionInfo> shared = NewSharedFunctionInfo( |
name, code, IsConstructable(kind, scope_info->language_mode())); |
shared->set_scope_info(*scope_info); |
- shared->set_feedback_vector(*feedback_vector); |
shared->set_kind(kind); |
shared->set_num_literals(number_of_literals); |
if (IsGeneratorFunction(kind)) { |