Reviewers: Igor Sheludko,

Message:
Committed patchset #1 (id:1) manually as 24041 (tree was closed).

Description:
Fix gcmole warning.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=24041

Please review this at https://codereview.chromium.org/582033002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -1 lines):
  M src/factory.cc


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);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to