Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: src/profile-generator.cc

Issue 907353003: Remove obsolete method ProfileTree::AddPathFromStart and the corresponding test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/profile-generator.h ('k') | test/cctest/test-profile-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) { }
« no previous file with comments | « src/profile-generator.h ('k') | test/cctest/test-profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698