| Index: runtime/vm/dart_api_impl.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl.cc (revision 36574)
|
| +++ runtime/vm/dart_api_impl.cc (working copy)
|
| @@ -44,6 +44,7 @@
|
| "Check function fingerprints");
|
| DEFINE_FLAG(bool, trace_api, false,
|
| "Trace invocation of API calls (debug mode only)");
|
| +DEFINE_FLAG(bool, load_async, true, "load source code asynchronously");
|
|
|
| ThreadLocalKey Api::api_native_key_ = Thread::kUnsetThreadLocalKey;
|
| Dart_Handle Api::true_handle_ = NULL;
|
| @@ -1193,10 +1194,7 @@
|
|
|
|
|
| DART_EXPORT bool Dart_IsVMFlagSet(const char* flag_name) {
|
| - if (Flags::Lookup(flag_name) != NULL) {
|
| - return true;
|
| - }
|
| - return false;
|
| + return Flags::IsSet(flag_name);
|
| }
|
|
|
|
|
|
|