| Index: runtime/bin/builtin_natives.cc
|
| diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
|
| index 874e4426d233826d3d7d692e193df89b194e1b1b..394beb3d11268a3a027d2a57a42288c7daf1e68d 100644
|
| --- a/runtime/bin/builtin_natives.cc
|
| +++ b/runtime/bin/builtin_natives.cc
|
| @@ -27,7 +27,7 @@ namespace bin {
|
| // using functions listed in io_natives.cc.
|
| #define BUILTIN_NATIVE_LIST(V) \
|
| V(Builtin_PrintString, 1) \
|
| - V(Builtin_GetCurrentDirectory, 0) \
|
| + V(Builtin_GetCurrentDirectory, 0)
|
|
|
|
|
| BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);
|
| @@ -36,9 +36,7 @@ static struct NativeEntries {
|
| const char* name_;
|
| Dart_NativeFunction function_;
|
| int argument_count_;
|
| -} BuiltinEntries[] = {
|
| - BUILTIN_NATIVE_LIST(REGISTER_FUNCTION)
|
| -};
|
| +} BuiltinEntries[] = {BUILTIN_NATIVE_LIST(REGISTER_FUNCTION)};
|
|
|
|
|
| void Builtin_DummyNative(Dart_NativeArguments args) {
|
| @@ -46,7 +44,6 @@ void Builtin_DummyNative(Dart_NativeArguments args) {
|
| }
|
|
|
|
|
| -
|
| /**
|
| * Looks up native functions in both libdart_builtin and libdart_io.
|
| */
|
| @@ -106,10 +103,9 @@ void FUNCTION_NAME(Builtin_PrintString)(Dart_NativeArguments args) {
|
| fflush(stdout);
|
| if (ShouldCaptureStdout()) {
|
| // For now we report print output on the Stdout stream.
|
| - uint8_t newline[] = { '\n' };
|
| + uint8_t newline[] = {'\n'};
|
| Dart_ServiceSendDataEvent("Stdout", "WriteEvent", chars, length);
|
| - Dart_ServiceSendDataEvent("Stdout", "WriteEvent",
|
| - newline, sizeof(newline));
|
| + Dart_ServiceSendDataEvent("Stdout", "WriteEvent", newline, sizeof(newline));
|
| }
|
| }
|
|
|
|
|