Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index b2c9de8524cabbc9d0b73303191b35798c057b9a..6100e0993bc5bc21e1181a26d1684ddd7b87101e 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -31,6 +31,7 @@ |
#include "profile-generator-inl.h" |
+#include "func-name-inferrer.h" |
#include "global-handles.h" |
#include "heap-profiler.h" |
#include "scopeinfo.h" |
@@ -825,7 +826,7 @@ void SampleRateCalculator::UpdateMeasurements(double current_time) { |
const char* const ProfileGenerator::kAnonymousFunctionName = |
- "(anonymous function)"; |
+ FuncNameInferrer::kAnonymousFunctionName; |
const char* const ProfileGenerator::kProgramEntryName = |
"(program)"; |
const char* const ProfileGenerator::kGarbageCollectorEntryName = |