projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1373784
)
Fix gcmole warning.
author
mvstanton@chromium.org
<mvstanton@chromium.org>
Thu, 18 Sep 2014 13:24:02 +0000
(13:24 +0000)
committer
mvstanton@chromium.org
<mvstanton@chromium.org>
Thu, 18 Sep 2014 13:24:02 +0000
(13:24 +0000)
TBR=ishell@chromium.org
Review URL: https://codereview.chromium.org/
582033002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24041
ce2b1a6d
-e550-0410-aec6-
3dcde31c8c00
src/factory.cc
patch
|
blob
|
history
diff --git
a/src/factory.cc
b/src/factory.cc
index
a796f2a
..
5eefda2
100644
(file)
--- 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);