Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 06a9ee17ee56437601a94ab7367d10696890d41b..6017f12dc67ece8ac7e51383e2479b4f36721dcb 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -107,17 +107,12 @@ const char* StringsStorage::GetName(int index) { |
const char* StringsStorage::GetFunctionName(Name* name) { |
- return BeautifyFunctionName(GetName(name)); |
+ return GetName(name); |
} |
const char* StringsStorage::GetFunctionName(const char* name) { |
- return BeautifyFunctionName(GetCopy(name)); |
-} |
- |
- |
-const char* StringsStorage::BeautifyFunctionName(const char* name) { |
- return (*name == 0) ? ProfileGenerator::kAnonymousFunctionName : name; |
+ return GetCopy(name); |
} |
@@ -552,8 +547,6 @@ CodeEntry* CpuProfilesCollection::NewCodeEntry( |
} |
-const char* const ProfileGenerator::kAnonymousFunctionName = |
- "(anonymous function)"; |
const char* const ProfileGenerator::kProgramEntryName = |
"(program)"; |
const char* const ProfileGenerator::kIdleEntryName = |