| 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 "vm/globals.h" |
| 6 #if defined(TARGET_OS_LINUX) |
| 7 |
| 5 #include "vm/os.h" | 8 #include "vm/os.h" |
| 6 | 9 |
| 7 #include <errno.h> | 10 #include <errno.h> // NOLINT |
| 8 #include <limits.h> | 11 #include <limits.h> // NOLINT |
| 9 #include <malloc.h> | 12 #include <malloc.h> // NOLINT |
| 10 #include <time.h> | 13 #include <time.h> // NOLINT |
| 11 #include <sys/resource.h> | 14 #include <sys/resource.h> // NOLINT |
| 12 #include <sys/time.h> | 15 #include <sys/time.h> // NOLINT |
| 13 #include <sys/types.h> | 16 #include <sys/types.h> // NOLINT |
| 14 #include <unistd.h> | 17 #include <unistd.h> // NOLINT |
| 15 | 18 |
| 16 #include "platform/utils.h" | 19 #include "platform/utils.h" |
| 17 #include "vm/code_observers.h" | 20 #include "vm/code_observers.h" |
| 18 #include "vm/dart.h" | 21 #include "vm/dart.h" |
| 19 #include "vm/debuginfo.h" | 22 #include "vm/debuginfo.h" |
| 20 #include "vm/isolate.h" | 23 #include "vm/isolate.h" |
| 21 #include "vm/zone.h" | 24 #include "vm/zone.h" |
| 22 | 25 |
| 23 | 26 |
| 24 namespace dart { | 27 namespace dart { |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 void OS::Abort() { | 418 void OS::Abort() { |
| 416 abort(); | 419 abort(); |
| 417 } | 420 } |
| 418 | 421 |
| 419 | 422 |
| 420 void OS::Exit(int code) { | 423 void OS::Exit(int code) { |
| 421 exit(code); | 424 exit(code); |
| 422 } | 425 } |
| 423 | 426 |
| 424 } // namespace dart | 427 } // namespace dart |
| 428 |
| 429 #endif // defined(TARGET_OS_LINUX) |
| OLD | NEW |