Bug 771608 - Fix a crash when saving a text profile; r=ehsan

This commit is contained in:
Benoit Girard 2012-07-06 16:40:10 -04:00
parent 12d1c2db5f
commit 5aeb2eb888

View File

@ -797,7 +797,7 @@ std::ostream& operator<<(std::ostream& stream, const ThreadProfile& profile)
std::ostream& operator<<(std::ostream& stream, const ProfileEntry& entry)
{
if (entry.mTagName == 'r') {
if (entry.mTagName == 'r' || entry.mTagName == 't') {
stream << entry.mTagName << "-" << std::fixed << entry.mTagFloat << "\n";
} else if (entry.mTagName == 'l' || entry.mTagName == 'L') {
// Bug 739800 - Force l-tag addresses to have a "0x" prefix on all platforms