| 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 <stdlib.h> | 5 #include <stdlib.h> |
| 6 #include <string.h> | 6 #include <string.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 | 8 |
| 9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
| 10 #include "include/dart_tools_api.h" | 10 #include "include/dart_tools_api.h" |
| 11 | 11 |
| 12 #include "bin/builtin.h" | 12 #include "bin/builtin.h" |
| 13 #include "bin/dartutils.h" | 13 #include "bin/dartutils.h" |
| 14 #include "bin/directory.h" | 14 #include "bin/directory.h" |
| 15 #include "bin/embedded_dart_io.h" | 15 #include "bin/embedded_dart_io.h" |
| 16 #include "bin/eventhandler.h" | 16 #include "bin/eventhandler.h" |
| 17 #include "bin/extensions.h" | 17 #include "bin/extensions.h" |
| 18 #include "bin/file.h" | 18 #include "bin/file.h" |
| 19 #include "bin/isolate_data.h" | 19 #include "bin/isolate_data.h" |
| 20 #include "bin/log.h" | 20 #include "bin/log.h" |
| 21 #include "bin/platform.h" | 21 #include "bin/platform.h" |
| 22 #include "bin/process.h" | 22 #include "bin/process.h" |
| 23 #include "bin/thread.h" | 23 #include "bin/thread.h" |
| 24 #include "bin/utils.h" | 24 #include "bin/utils.h" |
| 25 #include "bin/vmservice_impl.h" | 25 #include "bin/vmservice_impl.h" |
| 26 #include "platform/globals.h" | 26 #include "platform/globals.h" |
| 27 #include "platform/hashmap.h" | 27 #include "platform/hashmap.h" |
| 28 #include "platform/text_buffer.h" | 28 #include "platform/text_buffer.h" |
| 29 #if !defined(DART_PRECOMPILER) |
| 29 #include "zlib/zlib.h" | 30 #include "zlib/zlib.h" |
| 31 #endif |
| 30 | 32 |
| 31 namespace dart { | 33 namespace dart { |
| 32 namespace bin { | 34 namespace bin { |
| 33 | 35 |
| 34 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we | 36 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we |
| 35 // link in a snapshot otherwise it is initialized to NULL. | 37 // link in a snapshot otherwise it is initialized to NULL. |
| 36 extern const uint8_t* vm_isolate_snapshot_buffer; | 38 extern const uint8_t* vm_isolate_snapshot_buffer; |
| 37 | 39 |
| 38 // isolate_snapshot_buffer points to a snapshot for an isolate if we link in a | 40 // isolate_snapshot_buffer points to a snapshot for an isolate if we link in a |
| 39 // snapshot otherwise it is initialized to NULL. | 41 // snapshot otherwise it is initialized to NULL. |
| (...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 Platform::Exit(Process::GlobalExitCode()); | 1699 Platform::Exit(Process::GlobalExitCode()); |
| 1698 } | 1700 } |
| 1699 | 1701 |
| 1700 } // namespace bin | 1702 } // namespace bin |
| 1701 } // namespace dart | 1703 } // namespace dart |
| 1702 | 1704 |
| 1703 int main(int argc, char** argv) { | 1705 int main(int argc, char** argv) { |
| 1704 dart::bin::main(argc, argv); | 1706 dart::bin::main(argc, argv); |
| 1705 UNREACHABLE(); | 1707 UNREACHABLE(); |
| 1706 } | 1708 } |
| OLD | NEW |