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

Unified Diff: runtime/vm/object.cc

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 | « runtime/vm/object.h ('k') | runtime/vm/object_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index bf063f3ffe159961bc70fc0b7978785fd1a9ef6b..470029d866d629353d718da76e4cbab3beff1092 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -1606,7 +1606,7 @@ NOT_IN_PRODUCT(
// Finish the initialization by compiling the bootstrap scripts containing the
// base interfaces and the implementation of the internal classes.
- const Error& error = Error::Handle(Bootstrap::LoadandCompileScripts());
+ const Error& error = Error::Handle(Bootstrap::DoBootstrapping());
if (!error.IsNull()) {
return error.raw();
}
@@ -10840,7 +10840,7 @@ RawLibrary* Library::DeveloperLibrary() {
RawLibrary* Library::InternalLibrary() {
- return Isolate::Current()->object_store()->internal_library();
+ return Isolate::Current()->object_store()->_internal_library();
}
@@ -10854,9 +10854,11 @@ RawLibrary* Library::MathLibrary() {
}
+#if !defined(PRODUCT)
RawLibrary* Library::MirrorsLibrary() {
return Isolate::Current()->object_store()->mirrors_library();
}
+#endif
RawLibrary* Library::NativeWrappersLibrary() {
@@ -10875,7 +10877,7 @@ RawLibrary* Library::TypedDataLibrary() {
RawLibrary* Library::VMServiceLibrary() {
- return Isolate::Current()->object_store()->vmservice_library();
+ return Isolate::Current()->object_store()->_vmservice_library();
}
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/object_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698