Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4dd7f770d14ba09d06cadebc5e3acba1652e8440..6f86647ef5911348cda4fa55bb590e39d4334b27 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1542,10 +1542,12 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
int number_of_literals, |
bool is_generator, |
Handle<Code> code, |
- Handle<ScopeInfo> scope_info) { |
+ Handle<ScopeInfo> scope_info, |
+ Handle<FixedArray> feedback_vector) { |
Handle<SharedFunctionInfo> shared = NewSharedFunctionInfo(name); |
shared->set_code(*code); |
shared->set_scope_info(*scope_info); |
+ shared->set_feedback_vector(*feedback_vector); |
int literals_array_size = number_of_literals; |
// If the function contains object, regexp or array literals, |
// allocate extra space for a literals array prefix containing the |