| Index: runtime/vm/bootstrap_natives.cc
|
| diff --git a/runtime/vm/bootstrap_natives.cc b/runtime/vm/bootstrap_natives.cc
|
| index b6d5f2a490424c44ee853252b0f20c1321d4e3dd..5e00d7ebef1e0184d263e231636cf71093d947ea 100644
|
| --- a/runtime/vm/bootstrap_natives.cc
|
| +++ b/runtime/vm/bootstrap_natives.cc
|
| @@ -18,7 +18,6 @@ namespace dart {
|
| #define REGISTER_NATIVE_ENTRY(name, count) \
|
| {"" #name, BootstrapNatives::DN_##name, count},
|
|
|
| -
|
| // List all native functions implemented in the vm or core bootstrap dart
|
| // libraries so that we can resolve the native function to it's entry
|
| // point.
|
| @@ -32,7 +31,6 @@ static struct NativeEntries {
|
| #endif // !PRODUCT && !DART_PRECOMPILED_RUNTIME
|
| };
|
|
|
| -
|
| Dart_NativeFunction BootstrapNatives::Lookup(Dart_Handle name,
|
| int argument_count,
|
| bool* auto_setup_scope) {
|
| @@ -55,7 +53,6 @@ Dart_NativeFunction BootstrapNatives::Lookup(Dart_Handle name,
|
| return NULL;
|
| }
|
|
|
| -
|
| const uint8_t* BootstrapNatives::Symbol(Dart_NativeFunction* nf) {
|
| int num_entries = sizeof(BootStrapEntries) / sizeof(struct NativeEntries);
|
| for (int i = 0; i < num_entries; i++) {
|
| @@ -67,7 +64,6 @@ const uint8_t* BootstrapNatives::Symbol(Dart_NativeFunction* nf) {
|
| return NULL;
|
| }
|
|
|
| -
|
| void Bootstrap::SetupNativeResolver() {
|
| Library& library = Library::Handle();
|
|
|
| @@ -140,7 +136,6 @@ void Bootstrap::SetupNativeResolver() {
|
| library.set_native_entry_symbol_resolver(symbol_resolver);
|
| }
|
|
|
| -
|
| bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) {
|
| return (resolver ==
|
| reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup));
|
|
|