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

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

Issue 1536003002: VM: Remove non-existent/unused functions from precompiled entry points. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/bin/vmservice_impl.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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 { "dart:io", "HandshakeException", "HandshakeException." }, 1183 { "dart:io", "HandshakeException", "HandshakeException." },
1184 { "dart:io", "OSError", "OSError." }, 1184 { "dart:io", "OSError", "OSError." },
1185 { "dart:io", "TlsException", "TlsException." }, 1185 { "dart:io", "TlsException", "TlsException." },
1186 { "dart:io", "X509Certificate", "X509Certificate._" }, 1186 { "dart:io", "X509Certificate", "X509Certificate._" },
1187 { "dart:io", "_ExternalBuffer", "set:data" }, 1187 { "dart:io", "_ExternalBuffer", "set:data" },
1188 { "dart:io", "_Platform", "set:_nativeScript" }, 1188 { "dart:io", "_Platform", "set:_nativeScript" },
1189 { "dart:io", "_ProcessStartStatus", "set:_errorCode" }, 1189 { "dart:io", "_ProcessStartStatus", "set:_errorCode" },
1190 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" }, 1190 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" },
1191 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" }, 1191 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" },
1192 { "dart:io", "_SecureFilterImpl", "get:SIZE" }, 1192 { "dart:io", "_SecureFilterImpl", "get:SIZE" },
1193 { "dart:vmservice_io", "::", "_addResource" },
1194 { "dart:vmservice_io", "::", "main" }, 1193 { "dart:vmservice_io", "::", "main" },
1195 { "dart:vmservice_io", "::", "boot" }, 1194 { "dart:vmservice_io", "::", "boot" },
1196 { NULL, NULL, NULL } // Must be terminated with NULL entries. 1195 { NULL, NULL, NULL } // Must be terminated with NULL entries.
1197 }; 1196 };
1198 1197
1199 const bool reset_fields = has_gen_precompiled_snapshot; 1198 const bool reset_fields = has_gen_precompiled_snapshot;
1200 result = Dart_Precompile(standalone_entry_points, reset_fields); 1199 result = Dart_Precompile(standalone_entry_points, reset_fields);
1201 CHECK_RESULT(result); 1200 CHECK_RESULT(result);
1202 } 1201 }
1203 1202
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 Platform::Exit(Process::GlobalExitCode()); 1490 Platform::Exit(Process::GlobalExitCode());
1492 } 1491 }
1493 1492
1494 } // namespace bin 1493 } // namespace bin
1495 } // namespace dart 1494 } // namespace dart
1496 1495
1497 int main(int argc, char** argv) { 1496 int main(int argc, char** argv) {
1498 dart::bin::main(argc, argv); 1497 dart::bin::main(argc, argv);
1499 UNREACHABLE(); 1498 UNREACHABLE();
1500 } 1499 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/vmservice_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698