| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #include "platform/assert.h" | 5 #include "platform/assert.h" |
| 6 | 6 |
| 7 #include <cstdlib> | 7 #include <cstdlib> |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 std::abort(); | 41 std::abort(); |
| 42 } | 42 } |
| 43 static bool failed = false; | 43 static bool failed = false; |
| 44 if (!failed) { | 44 if (!failed) { |
| 45 std::atexit(&failed_exit); | 45 std::atexit(&failed_exit); |
| 46 } | 46 } |
| 47 failed = true; | 47 failed = true; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace dart | 50 } // namespace dart |
| OLD | NEW |