diff options
Diffstat (limited to 'JavaScriptCore/profiler/Profile.cpp')
-rw-r--r-- | JavaScriptCore/profiler/Profile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/JavaScriptCore/profiler/Profile.cpp b/JavaScriptCore/profiler/Profile.cpp index 126e6f6..bc239b3 100644 --- a/JavaScriptCore/profiler/Profile.cpp +++ b/JavaScriptCore/profiler/Profile.cpp @@ -106,7 +106,7 @@ void Profile::debugPrintData() const m_head->debugPrintData(0); } -typedef pair<UString::Rep*, unsigned> NameCountPair; +typedef pair<StringImpl*, unsigned> NameCountPair; static inline bool functionNameCountPairComparator(const NameCountPair& a, const NameCountPair& b) { @@ -127,7 +127,7 @@ void Profile::debugPrintDataSampleStyle() const std::sort(sortedFunctions.begin(), sortedFunctions.end(), functionNameCountPairComparator); for (NameCountPairVector::iterator it = sortedFunctions.begin(); it != sortedFunctions.end(); ++it) - printf(" %-12d%s\n", (*it).second, UString((*it).first).UTF8String().data()); + printf(" %-12d%s\n", (*it).second, UString((*it).first).utf8().data()); printf("\nSort by top of stack, same collapsed (when >= 5):\n"); } |