| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 1cff0aa27a6c5a1301a46220766b8b64d0c5f7c3..4c270910708f8af6f617226666a21e9a47f99ec0 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -51,6 +51,8 @@ namespace dart {
|
| #define Z (T->zone())
|
|
|
|
|
| +DECLARE_FLAG(bool, load_deferred_eagerly);
|
| +DECLARE_FLAG(bool, precompilation);
|
| DECLARE_FLAG(bool, print_class_table);
|
| DECLARE_FLAG(bool, verify_handles);
|
| #if defined(DART_NO_SNAPSHOT)
|
| @@ -1145,7 +1147,7 @@ DART_EXPORT char* Dart_Initialize(
|
| Dart_FileCloseCallback file_close,
|
| Dart_EntropySource entropy_source,
|
| Dart_GetVMServiceAssetsArchive get_service_assets) {
|
| - if ((instructions_snapshot != NULL) && !FLAG_precompiled_mode) {
|
| + if ((instructions_snapshot != NULL) && !FLAG_precompilation) {
|
| return strdup("Flag --precompilation was not specified.");
|
| }
|
| if (interrupt != NULL) {
|
| @@ -6098,7 +6100,7 @@ DART_EXPORT Dart_Handle Dart_Precompile(
|
| bool reset_fields) {
|
| API_TIMELINE_BEGIN_END;
|
| DARTSCOPE(Thread::Current());
|
| - if (!FLAG_precompiled_mode) {
|
| + if (!FLAG_precompilation) {
|
| return Dart_NewApiError("Flag --precompilation was not specified.");
|
| }
|
| Dart_Handle result = Api::CheckAndFinalizePendingClasses(T);
|
|
|