| Index: runtime/vm/timeline.cc
|
| diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc
|
| index dbe9ef05efe0376ca94e9086fd3020bf46995ad9..f4c62a84991d78e01de164447c5d1a4167fec41c 100644
|
| --- a/runtime/vm/timeline.cc
|
| +++ b/runtime/vm/timeline.cc
|
| @@ -2,6 +2,8 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +#ifndef PRODUCT
|
| +
|
| #include <cstdlib>
|
|
|
| #include "vm/atomic.h"
|
| @@ -16,8 +18,6 @@
|
|
|
| namespace dart {
|
|
|
| -#ifndef PRODUCT
|
| -
|
| DEFINE_FLAG(bool, complete_timeline, false, "Record the complete timeline");
|
| DEFINE_FLAG(bool, startup_timeline, false, "Record the startup timeline");
|
| DEFINE_FLAG(bool, trace_timeline, false,
|
| @@ -1692,6 +1692,6 @@ TimelineEventBlock* TimelineEventBlockIterator::Next() {
|
| return r;
|
| }
|
|
|
| -#endif // !PRODUCT
|
| -
|
| } // namespace dart
|
| +
|
| +#endif // !PRODUCT
|
|
|