| Index: runtime/bin/file.cc
|
| diff --git a/runtime/bin/file.cc b/runtime/bin/file.cc
|
| index 528b287695b89cf64efbfd16027a61e68713b074..e4548a51ec4903933bb6f3daa29a64d97660f5d5 100644
|
| --- a/runtime/bin/file.cc
|
| +++ b/runtime/bin/file.cc
|
| @@ -256,21 +256,6 @@ void FUNCTION_NAME(File_WriteFrom)(Dart_NativeArguments args) {
|
| Dart_TypedDataAcquireData(buffer_obj, &type, &buffer, &buffer_len);
|
| if (Dart_IsError(result)) Dart_PropagateError(result);
|
|
|
| -#ifdef DEBUG
|
| - // TODO(ajohnsen): Remove once issue 17602 is fixed.
|
| - bool print_debug = true;
|
| - for (int i = 0; i < length; i++) {
|
| - if (reinterpret_cast<uint8_t*>(buffer)[i] != 0xf3) {
|
| - print_debug = false;
|
| - break;
|
| - }
|
| - }
|
| - if (print_debug) {
|
| - fprintf(stderr, "WARNING: Data is purely 0x3f in File_WriteFrom\n");
|
| - fflush(stderr);
|
| - }
|
| -#endif
|
| -
|
| ASSERT(type == Dart_TypedData_kUint8 || type == Dart_TypedData_kInt8);
|
| ASSERT(end <= buffer_len);
|
| ASSERT(buffer != NULL);
|
|
|