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

Unified Diff: runtime/vm/bootstrap.h

Issue 14520010: First step towards loading the core library scripts directly from the sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « no previous file | runtime/vm/bootstrap.cc » ('j') | runtime/vm/bootstrap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap.h
===================================================================
--- runtime/vm/bootstrap.h (revision 22145)
+++ runtime/vm/bootstrap.h (working copy)
@@ -10,31 +10,13 @@
namespace dart {
// Forward declarations.
-class Library;
class RawError;
-class RawScript;
-class Script;
class Bootstrap : public AllStatic {
public:
- static RawScript* LoadAsyncScript(bool patch);
- static RawScript* LoadCoreScript(bool patch);
- static RawScript* LoadCollectionScript(bool patch);
- static RawScript* LoadCollectionDevScript(bool patch);
- static RawScript* LoadCryptoScript(bool patch);
- static RawScript* LoadIsolateScript(bool patch);
- static RawScript* LoadJsonScript(bool patch);
- static RawScript* LoadMathScript(bool patch);
- static RawScript* LoadMirrorsScript(bool patch);
- static RawScript* LoadTypedDataScript(bool patch);
- static RawScript* LoadUriScript(bool patch);
- static RawScript* LoadUtfScript(bool patch);
- static RawError* Compile(const Library& library, const Script& script);
+ static RawError* LoadandCompileScripts();
static void SetupNativeResolver();
- private:
- static RawScript* LoadScript(const char* url, const char* source, bool patch);
-
static const char async_source_[];
static const char async_patch_[];
static const char corelib_source_[];
« no previous file with comments | « no previous file | runtime/vm/bootstrap.cc » ('j') | runtime/vm/bootstrap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698