Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
| index 453baa9c17968456ab63c341d97cc871b537f5a2..fdb1d5374be4f0d56fe36e3849a9271c5524a75e 100644 |
| --- a/runtime/vm/dart_api_impl.cc |
| +++ b/runtime/vm/dart_api_impl.cc |
| @@ -5974,4 +5974,9 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( |
| return Api::Success(); |
| } |
| + |
| +DART_EXPORT bool Dart_IsRunningPrecompiledCode() { |
| + return Dart::IsRunningPrecompiledCode(); |
| +} |
| + |
| } // namespace dart |