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

Unified Diff: src/profile-generator.h

Issue 1332683002: Profiler code clean-up (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/profile-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator.h
diff --git a/src/profile-generator.h b/src/profile-generator.h
index e1826f742e7ae2c55e3d5b475651a8b742c9197b..73d022559a1ce7f8165ed96cac86d48ae81d9375 100644
--- a/src/profile-generator.h
+++ b/src/profile-generator.h
@@ -49,7 +49,6 @@ class CodeEntry {
Address instruction_start = NULL);
~CodeEntry();
- bool is_js_function() const { return is_js_function_tag(tag()); }
const char* name_prefix() const { return name_prefix_; }
bool has_name_prefix() const { return name_prefix_[0] != '\0'; }
const char* name() const { return name_; }
@@ -84,8 +83,6 @@ class CodeEntry {
void FillFunctionInfo(SharedFunctionInfo* shared);
- static inline bool is_js_function_tag(Logger::LogEventsAndTags tag);
-
List<OffsetRange>* no_frame_ranges() const { return no_frame_ranges_; }
void set_no_frame_ranges(List<OffsetRange>* ranges) {
no_frame_ranges_ = ranges;
@@ -269,7 +266,7 @@ class CodeMap {
~CodeMap();
void AddCode(Address addr, CodeEntry* entry, unsigned size);
void MoveCode(Address from, Address to);
- CodeEntry* FindEntry(Address addr, Address* start = NULL);
+ CodeEntry* FindEntry(Address addr);
int GetSharedId(Address addr);
void Print();
« no previous file with comments | « no previous file | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698