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

Unified Diff: runtime/vm/bootstrap.h

Issue 2493473002: Reduce amount of boilerplate associated with bootstrap libraries. (Closed)
Patch Set: Address Florian's comments Created 4 years, 1 month 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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap.h
diff --git a/runtime/vm/bootstrap.h b/runtime/vm/bootstrap.h
index 7c5ab0ea6a5cb6cc2b8ec2fd178b093889f64d10..0c2d9124adbdac930e158c52933f77a041bdf492 100644
--- a/runtime/vm/bootstrap.h
+++ b/runtime/vm/bootstrap.h
@@ -15,7 +15,7 @@ class RawError;
class Bootstrap : public AllStatic {
public:
- static RawError* LoadandCompileScripts();
+ static RawError* DoBootstrapping();
static void SetupNativeResolver();
static bool IsBootstapResolver(Dart_NativeEntryResolver resolver);
@@ -45,9 +45,11 @@ class Bootstrap : public AllStatic {
static const char* isolate_patch_paths_[];
static const char* math_patch_paths_[];
static const char* mirrors_patch_paths_[];
- static const char* profiler_patch_paths_[];
- static const char* typed_data_patch_paths_[];
static const char* _vmservice_patch_paths_[];
+
+ // NULL patch paths for libraries that do not have patch files.
+ static const char** profiler_patch_paths_;
+ static const char** typed_data_patch_paths_;
};
} // namespace dart
« no previous file with comments | « no previous file | runtime/vm/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698