| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if !defined(PRODUCT) | |
| 6 | |
| 7 #include "vm/metrics.h" | 5 #include "vm/metrics.h" |
| 8 | 6 |
| 9 #include "vm/isolate.h" | 7 #include "vm/isolate.h" |
| 10 #include "vm/json_stream.h" | 8 #include "vm/json_stream.h" |
| 11 #include "vm/log.h" | 9 #include "vm/log.h" |
| 12 #include "vm/native_entry.h" | 10 #include "vm/native_entry.h" |
| 13 #include "vm/object.h" | 11 #include "vm/object.h" |
| 14 #include "vm/runtime_entry.h" | 12 #include "vm/runtime_entry.h" |
| 15 | 13 |
| 16 namespace dart { | 14 namespace dart { |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 set_value(kMaxInt64); | 331 set_value(kMaxInt64); |
| 334 } | 332 } |
| 335 | 333 |
| 336 void MinMetric::SetValue(int64_t new_value) { | 334 void MinMetric::SetValue(int64_t new_value) { |
| 337 if (new_value < value()) { | 335 if (new_value < value()) { |
| 338 set_value(new_value); | 336 set_value(new_value); |
| 339 } | 337 } |
| 340 } | 338 } |
| 341 | 339 |
| 342 } // namespace dart | 340 } // namespace dart |
| 343 | |
| 344 #endif // !defined(PRODUCT) | |
| OLD | NEW |