Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: runtime/bin/main.cc

Issue 1309563006: Emit assembly instead of a blob for the instructions snapshot, and provide labels for the entry poi… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/datastream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Global flag that is used to indicate that we want to run from a precompiled 79 // Global flag that is used to indicate that we want to run from a precompiled
80 // snapshot. 80 // snapshot.
81 static bool has_run_precompiled_snapshot = false; 81 static bool has_run_precompiled_snapshot = false;
82 82
83 83
84 extern const char* kPrecompiledLibraryName; 84 extern const char* kPrecompiledLibraryName;
85 extern const char* kPrecompiledSymbolName; 85 extern const char* kPrecompiledSymbolName;
86 static const char* kPrecompiledVmIsolateName = "precompiled.vmisolate"; 86 static const char* kPrecompiledVmIsolateName = "precompiled.vmisolate";
87 static const char* kPrecompiledIsolateName = "precompiled.isolate"; 87 static const char* kPrecompiledIsolateName = "precompiled.isolate";
88 static const char* kPrecompiledInstructionsName = "precompiled.instructions"; 88 static const char* kPrecompiledInstructionsName = "precompiled.S";
89 89
90 90
91 // Global flag that is used to indicate that we want to trace resolution of 91 // Global flag that is used to indicate that we want to trace resolution of
92 // URIs and the loading of libraries, parts and scripts. 92 // URIs and the loading of libraries, parts and scripts.
93 static bool has_trace_loading = false; 93 static bool has_trace_loading = false;
94 94
95 95
96 static const char* DEFAULT_VM_SERVICE_SERVER_IP = "127.0.0.1"; 96 static const char* DEFAULT_VM_SERVICE_SERVER_IP = "127.0.0.1";
97 static const int DEFAULT_VM_SERVICE_SERVER_PORT = 8181; 97 static const int DEFAULT_VM_SERVICE_SERVER_PORT = 8181;
98 // VM Service options. 98 // VM Service options.
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 exit(Process::GlobalExitCode()); 1311 exit(Process::GlobalExitCode());
1312 } 1312 }
1313 1313
1314 } // namespace bin 1314 } // namespace bin
1315 } // namespace dart 1315 } // namespace dart
1316 1316
1317 int main(int argc, char** argv) { 1317 int main(int argc, char** argv) {
1318 dart::bin::main(argc, argv); 1318 dart::bin::main(argc, argv);
1319 UNREACHABLE(); 1319 UNREACHABLE();
1320 } 1320 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/datastream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698