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

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

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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 | « pkg/testing/lib/src/run_tests.dart ('k') | runtime/lib/string_patch.dart » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Generate a snapshot file after loading all the scripts specified on the 5 // Generate a snapshot file after loading all the scripts specified on the
6 // command line. 6 // command line.
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 " --assembly=<output-file> \n" 891 " --assembly=<output-file> \n"
892 " {--embedder_entry_points_manifest=<input-file>} \n" 892 " {--embedder_entry_points_manifest=<input-file>} \n"
893 " <dart-script-file> \n" 893 " <dart-script-file> \n"
894 " \n" 894 " \n"
895 " AOT snapshots require entry points manifest files, which list the places \n" 895 " AOT snapshots require entry points manifest files, which list the places \n"
896 " in the Dart program the embedder calls from the C API (Dart_Invoke, etc). \n" 896 " in the Dart program the embedder calls from the C API (Dart_Invoke, etc). \n"
897 " Not specifying these may cause the tree shaker to remove them from the \n" 897 " Not specifying these may cause the tree shaker to remove them from the \n"
898 " program. The format of this manifest is as follows. Each line in the \n" 898 " program. The format of this manifest is as follows. Each line in the \n"
899 " manifest is a comma separated list of three elements. The first entry is \n" 899 " manifest is a comma separated list of three elements. The first entry is \n"
900 " the library URI, the second entry is the class name and the final entry \n" 900 " the library URI, the second entry is the class name and the final entry \n"
901 " the function name. The file must be terminated with a newline charater. \n" 901 " the function name. The file must be terminated with a newline character. \n"
902 " \n" 902 " \n"
903 " Example: \n" 903 " Example: \n"
904 " dart:something,SomeClass,doSomething \n" 904 " dart:something,SomeClass,doSomething \n"
905 "\n"); 905 "\n");
906 } 906 }
907 // clang-format on 907 // clang-format on
908 908
909 909
910 static const char StubNativeFunctionName[] = "StubNativeFunction"; 910 static const char StubNativeFunctionName[] = "StubNativeFunction";
911 911
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 delete mapped_isolate_snapshot_data; 1678 delete mapped_isolate_snapshot_data;
1679 return 0; 1679 return 0;
1680 } 1680 }
1681 1681
1682 } // namespace bin 1682 } // namespace bin
1683 } // namespace dart 1683 } // namespace dart
1684 1684
1685 int main(int argc, char** argv) { 1685 int main(int argc, char** argv) {
1686 return dart::bin::main(argc, argv); 1686 return dart::bin::main(argc, argv);
1687 } 1687 }
OLDNEW
« no previous file with comments | « pkg/testing/lib/src/run_tests.dart ('k') | runtime/lib/string_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698