diff --git a/runtime/vm/native_symbol_android.cc b/runtime/vm/native_symbol_android.cc index 8ed1999dd58..43df38d0f18 100644 --- a/runtime/vm/native_symbol_android.cc +++ b/runtime/vm/native_symbol_android.cc @@ -10,21 +10,6 @@ #include // NOLINT #include // NOLINT -// Even though it's not used in a PRODUCT build, __cxa_demangle() still ends up -// in the resulting binary for Android. Blowing it away by redefining it like -// so saves >90KB of binary size. -#if defined(PRODUCT) -extern "C" char* __cxa_demangle(const char* mangled_name, - char* buf, - size_t* n, - int* status) { - if (status) { - *status = -1; - } - return NULL; -} -#endif - namespace dart { void NativeSymbolResolver::Init() {}