Index: runtime/vm/bootstrap_natives.cc |
=================================================================== |
--- runtime/vm/bootstrap_natives.cc (revision 25822) |
+++ runtime/vm/bootstrap_natives.cc (working copy) |
@@ -81,4 +81,10 @@ |
library.set_native_entry_resolver(resolver); |
} |
+ |
+bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) { |
+ return (resolver == |
+ reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup)); |
+} |
+ |
} // namespace dart |