Index: runtime/vm/dart_api_impl.cc |
=================================================================== |
--- runtime/vm/dart_api_impl.cc (revision 45703) |
+++ runtime/vm/dart_api_impl.cc (working copy) |
@@ -45,8 +45,10 @@ |
DECLARE_FLAG(bool, print_class_table); |
DECLARE_FLAG(bool, verify_handles); |
+#if defined(DART_NO_SNAPSHOT) |
DEFINE_FLAG(bool, check_function_fingerprints, false, |
"Check function fingerprints"); |
+#endif // defined(DART_NO_SNAPSHOT). |
DEFINE_FLAG(bool, trace_api, false, |
"Trace invocation of API calls (debug mode only)"); |
DEFINE_FLAG(bool, verify_acquired_data, false, |
@@ -1297,9 +1299,11 @@ |
Error::Handle(isolate, |
Dart::InitializeIsolate(snapshot, callback_data)); |
if (error_obj.IsNull()) { |
+#if defined(DART_NO_SNAPSHOT) |
if (FLAG_check_function_fingerprints) { |
Library::CheckFunctionFingerprints(); |
} |
+#endif // defined(DART_NO_SNAPSHOT). |
START_TIMER(isolate, time_total_runtime); |
return reinterpret_cast<Dart_Isolate>(isolate); |
} |