Chromium Code Reviews| Index: runtime/platform/assert.cc |
| diff --git a/runtime/platform/assert.cc b/runtime/platform/assert.cc |
| index 41f42f4353f178c2046afc541f4722f8419aa685..e9d1c4fa301e66db915f676132275b292b21a5c6 100644 |
| --- a/runtime/platform/assert.cc |
| +++ b/runtime/platform/assert.cc |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "platform/globals.h" |
| +#include "vm/os.h" |
|
Cutch
2016/01/11 18:05:28
Can platform depend on vm/ ?
zra
2016/01/11 18:33:41
text_buffer.{h,cc} already does, and to me it seem
|
| namespace dart { |
| @@ -38,7 +39,7 @@ void DynamicAssertionHelper::Fail(const char* format, ...) { |
| // TODO(5411324): replace std::abort with OS::Abort so that we can handle |
| // restoring of signal handlers before aborting. |
| if (kind_ == ASSERT) { |
| - abort(); |
| + OS::Abort(); |
| } |
| static bool failed = false; |
| if (!failed) { |