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

Unified Diff: vm/bootstrap.h

Issue 10834284: - Split Dart core libraries into shared sources and patch sources. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/math_sources.gypi ('k') | vm/bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/bootstrap.h
===================================================================
--- vm/bootstrap.h (revision 10607)
+++ vm/bootstrap.h (working copy)
@@ -17,20 +17,27 @@
class Bootstrap : public AllStatic {
public:
- static RawScript* LoadScript();
- static RawScript* LoadImplScript();
- static RawScript* LoadMathScript();
- static RawScript* LoadIsolateScript();
- static RawScript* LoadMirrorsScript();
+ static RawScript* LoadCoreScript(bool patch);
+ static RawScript* LoadCoreImplScript(bool patch);
+ static RawScript* LoadMathScript(bool patch);
+ static RawScript* LoadIsolateScript(bool patch);
+ static RawScript* LoadMirrorsScript(bool patch);
static RawError* Compile(const Library& library, const Script& script);
static void SetupNativeResolver();
private:
+ static RawScript* LoadScript(const char* url, const char* source, bool patch);
+
static const char corelib_source_[];
+ static const char corelib_patch_[];
static const char corelib_impl_source_[];
+ static const char corelib_impl_patch_[];
static const char math_source_[];
+ static const char math_patch_[];
static const char isolate_source_[];
+ static const char isolate_patch_[];
static const char mirrors_source_[];
+ static const char mirrors_patch_[];
};
} // namespace dart
« no previous file with comments | « lib/math_sources.gypi ('k') | vm/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698