Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index e434f08cd16d702fc2e99eb2e77386f9c465121e..509d8b83ce8cc5eebb7496c3ce29dabcfc7a2e52 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -1485,7 +1485,7 @@ DART_EXPORT void Dart_ExitIsolate() { |
DART_EXPORT Dart_Handle Dart_IsolateSetStrictCompilation(bool value) { |
CHECK_ISOLATE(Isolate::Current()); |
Isolate* isolate = Isolate::Current(); |
- if (isolate->has_compiled()) { |
+ if (isolate->has_compiled_code()) { |
return Api::NewError( |
"%s expects that the isolate has not yet compiled code.", CURRENT_FUNC); |
} |