| 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_debugger_api.h" | 10 #include "include/dart_debugger_api.h" |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 DumpPprofSymbolInfo(); | 753 DumpPprofSymbolInfo(); |
| 754 // Shutdown the isolate. | 754 // Shutdown the isolate. |
| 755 Dart_ShutdownIsolate(); | 755 Dart_ShutdownIsolate(); |
| 756 // Terminate process exit-code handler. | 756 // Terminate process exit-code handler. |
| 757 Process::TerminateExitCodeHandler(); | 757 Process::TerminateExitCodeHandler(); |
| 758 // Free copied argument strings if converted. | 758 // Free copied argument strings if converted. |
| 759 if (argv_converted) { | 759 if (argv_converted) { |
| 760 for (int i = 0; i < argc; i++) free(argv[i]); | 760 for (int i = 0; i < argc; i++) free(argv[i]); |
| 761 } | 761 } |
| 762 | 762 |
| 763 return 0; | 763 return Process::GlobalExitCode(); |
| 764 } | 764 } |
| OLD | NEW |