| Index: runtime/bin/builtin_gen_snapshot.cc
|
| diff --git a/runtime/bin/builtin_gen_snapshot.cc b/runtime/bin/builtin_gen_snapshot.cc
|
| index 8cf1d236eb7931ff3c7195359fb2138fc1a66f84..070e1408deabea82b08807b24665bb7b90e2dd17 100644
|
| --- a/runtime/bin/builtin_gen_snapshot.cc
|
| +++ b/runtime/bin/builtin_gen_snapshot.cc
|
| @@ -2,8 +2,8 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -#include <stdlib.h>
|
| #include <stdio.h>
|
| +#include <stdlib.h>
|
| #include <string.h>
|
|
|
| #include "include/dart_api.h"
|
| @@ -25,7 +25,6 @@ static struct NativeEntries {
|
| int argument_count_;
|
| } BuiltinEntries[] = {BUILTIN_NATIVE_LIST(REGISTER_FUNCTION)};
|
|
|
| -
|
| Dart_NativeFunction Builtin::NativeLookup(Dart_Handle name,
|
| int argument_count,
|
| bool* auto_setup_scope) {
|
| @@ -46,7 +45,6 @@ Dart_NativeFunction Builtin::NativeLookup(Dart_Handle name,
|
| return IONativeLookup(name, argument_count, auto_setup_scope);
|
| }
|
|
|
| -
|
| const uint8_t* Builtin::NativeSymbol(Dart_NativeFunction nf) {
|
| int num_entries = sizeof(BuiltinEntries) / sizeof(struct NativeEntries);
|
| for (int i = 0; i < num_entries; i++) {
|
| @@ -58,7 +56,6 @@ const uint8_t* Builtin::NativeSymbol(Dart_NativeFunction nf) {
|
| return IONativeSymbol(nf);
|
| }
|
|
|
| -
|
| // Implementation of native functions which are used for some
|
| // test/debug functionality in standalone dart mode.
|
| void FUNCTION_NAME(Builtin_PrintString)(Dart_NativeArguments args) {
|
|
|