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

Side by Side Diff: runtime/vm/bootstrap.h

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/bootstrap.cc » ('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 #ifndef VM_BOOTSTRAP_H_ 5 #ifndef VM_BOOTSTRAP_H_
6 #define VM_BOOTSTRAP_H_ 6 #define VM_BOOTSTRAP_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 // Forward declarations. 12 // Forward declarations.
13 class Library; 13 class Library;
14 class RawError; 14 class RawError;
15 class RawScript; 15 class RawScript;
16 class Script; 16 class Script;
17 17
18 class Bootstrap : public AllStatic { 18 class Bootstrap : public AllStatic {
19 public: 19 public:
20 static RawScript* LoadASyncScript(bool patch);
20 static RawScript* LoadCoreScript(bool patch); 21 static RawScript* LoadCoreScript(bool patch);
21 static RawScript* LoadCollectionScript(bool patch); 22 static RawScript* LoadCollectionScript(bool patch);
22 static RawScript* LoadMathScript(bool patch); 23 static RawScript* LoadMathScript(bool patch);
23 static RawScript* LoadIsolateScript(bool patch); 24 static RawScript* LoadIsolateScript(bool patch);
24 static RawScript* LoadMirrorsScript(bool patch); 25 static RawScript* LoadMirrorsScript(bool patch);
25 static RawScript* LoadScalarlistScript(bool patch); 26 static RawScript* LoadScalarlistScript(bool patch);
26 static RawError* Compile(const Library& library, const Script& script); 27 static RawError* Compile(const Library& library, const Script& script);
27 static void SetupNativeResolver(); 28 static void SetupNativeResolver();
28 29
29 private: 30 private:
30 static RawScript* LoadScript(const char* url, const char* source, bool patch); 31 static RawScript* LoadScript(const char* url, const char* source, bool patch);
31 32
33 static const char async_source_[];
34 static const char async_patch_[];
32 static const char corelib_source_[]; 35 static const char corelib_source_[];
33 static const char corelib_patch_[]; 36 static const char corelib_patch_[];
34 static const char collection_source_[]; 37 static const char collection_source_[];
35 static const char math_source_[]; 38 static const char math_source_[];
36 static const char math_patch_[]; 39 static const char math_patch_[];
37 static const char isolate_source_[]; 40 static const char isolate_source_[];
38 static const char isolate_patch_[]; 41 static const char isolate_patch_[];
39 static const char mirrors_source_[]; 42 static const char mirrors_source_[];
40 static const char mirrors_patch_[]; 43 static const char mirrors_patch_[];
41 static const char scalarlist_source_[]; 44 static const char scalarlist_source_[];
42 static const char scalarlist_patch_[]; 45 static const char scalarlist_patch_[];
43 }; 46 };
44 47
45 } // namespace dart 48 } // namespace dart
46 49
47 #endif // VM_BOOTSTRAP_H_ 50 #endif // VM_BOOTSTRAP_H_
OLDNEW
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698