Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index a796f2a8ac9e488a391051d6de32a5a2eca5d6ae..5eefda29f641cf61adcb525b1cd329c7bdd7a5fb 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1974,7 +1974,8 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
share->set_script(*undefined_value(), SKIP_WRITE_BARRIER); |
share->set_debug_info(*undefined_value(), SKIP_WRITE_BARRIER); |
share->set_inferred_name(*empty_string(), SKIP_WRITE_BARRIER); |
- share->set_feedback_vector(*NewTypeFeedbackVector(0), SKIP_WRITE_BARRIER); |
+ Handle<TypeFeedbackVector> feedback_vector = NewTypeFeedbackVector(0); |
+ share->set_feedback_vector(*feedback_vector, SKIP_WRITE_BARRIER); |
share->set_profiler_ticks(0); |
share->set_ast_node_count(0); |
share->set_counters(0); |