| Index: runtime/vm/profiler.h
|
| diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
|
| index 02f8f382b66a9cf968ec761814fab63f15233b74..c7558904d000716d5351091ca894ba9240ee171a 100644
|
| --- a/runtime/vm/profiler.h
|
| +++ b/runtime/vm/profiler.h
|
| @@ -96,7 +96,10 @@ class SampleFilter : public ValueObject {
|
| int64_t time_extent_micros)
|
| : isolate_(isolate),
|
| time_origin_micros_(time_origin_micros),
|
| - time_extent_micros_(time_extent_micros) { }
|
| + time_extent_micros_(time_extent_micros) {
|
| + ASSERT(time_origin_micros_ >= -1);
|
| + ASSERT(time_extent_micros_ >= -1);
|
| + }
|
| virtual ~SampleFilter() { }
|
|
|
| // Override this function.
|
|
|