Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index ac3df176ca8d55a65262b7c29f45cf759f7eda94..777be3fbd143a38844d6c13452b60c17e06d9b08 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -325,23 +325,6 @@ ProfileNode* ProfileTree::AddPathFromEnd(const Vector<CodeEntry*>& path, |
} |
-void ProfileTree::AddPathFromStart(const Vector<CodeEntry*>& path, |
- int src_line) { |
- ProfileNode* node = root_; |
- for (CodeEntry** entry = path.start(); |
- entry != path.start() + path.length(); |
- ++entry) { |
- if (*entry != NULL) { |
- node = node->FindOrAddChild(*entry); |
- } |
- } |
- node->IncrementSelfTicks(); |
- if (src_line != v8::CpuProfileNode::kNoLineNumberInfo) { |
- node->IncrementLineTicks(src_line); |
- } |
-} |
- |
- |
struct NodesPair { |
NodesPair(ProfileNode* src, ProfileNode* dst) |
: src(src), dst(dst) { } |