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

Unified Diff: src/profile-generator.cc

Issue 7206015: Fix issue 1354: Bad function name inference. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
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 =
« src/func-name-inferrer.cc ('K') | « src/parser.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698