| Index: runtime/vm/timeline.h
|
| diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
|
| index 1ce66877ea459f30076024e553e3be9dff661652..ca683e717c0c3d4d7064a90ce521a060b5c03588 100644
|
| --- a/runtime/vm/timeline.h
|
| +++ b/runtime/vm/timeline.h
|
| @@ -376,10 +376,10 @@ class TimelineStream {
|
| };
|
|
|
| #ifndef PRODUCT
|
| -#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function) \
|
| +#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, name, function) \
|
| TimelineDurationScope tds(thread, \
|
| Timeline::GetCompilerStream(), \
|
| - "Compile" suffix); \
|
| + name); \
|
| if (tds.enabled()) { \
|
| tds.SetNumArguments(1); \
|
| tds.CopyArgument( \
|
| @@ -388,7 +388,7 @@ class TimelineStream {
|
| function.ToLibNamePrefixedQualifiedCString()); \
|
| }
|
| #else
|
| -#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function)
|
| +#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, name, function)
|
| #endif // !PRODUCT
|
|
|
| // See |TimelineDurationScope| and |TimelineBeginEndScope|.
|
|
|