Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 56808202add7186a395403310fb00df07a72567e..6bbefbceb142f4924c58d869688f1e91f08e3bf7 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -890,9 +890,7 @@ void Logger::HeapSampleJSConstructorEvent(const char* constructor, |
if (!Log::IsEnabled() || !FLAG_log_gc) return; |
LogMessageBuilder msg; |
msg.Append("heap-js-cons-item,%s,%d,%d\n", |
- constructor != NULL ? |
- (constructor[0] != '\0' ? constructor : "(anonymous)") : |
- "(no_constructor)", |
+ constructor[0] != '\0' ? constructor : "(anonymous)", |
number, bytes); |
msg.WriteToLogFile(); |
#endif |