diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2019-04-23 03:00:55 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-04-23 03:00:55 +0000 |
| commit | 9044a3abd32250a5f959f94999a1e6a8c6116d0d (patch) | |
| tree | 798fdebdba1a3e74be829e54a2d800af643f5246 | |
| parent | b5c22fe48eb46f1de9e9dc16ad32246e67058a35 (diff) | |
| parent | 5bab966ca807b95ca8be32a71cc7cecc36b62106 (diff) | |
Snap for 5495412 from 5bab966ca807b95ca8be32a71cc7cecc36b62106 to qt-release
Change-Id: I21dc53bdfb5c13d3d72dfe765c61582801f32afc
| -rw-r--r-- | libc/bionic/malloc_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/malloc_common.cpp b/libc/bionic/malloc_common.cpp index 60ee138c7..9dc4d12d1 100644 --- a/libc/bionic/malloc_common.cpp +++ b/libc/bionic/malloc_common.cpp @@ -155,7 +155,7 @@ extern "C" void* aligned_alloc(size_t alignment, size_t size) { return result; } -extern "C" void* realloc(void* old_mem, size_t bytes) { +extern "C" __attribute__((__noinline__)) void* realloc(void* old_mem, size_t bytes) { auto dispatch_table = GetDispatchTable(); if (__predict_false(dispatch_table != nullptr)) { return dispatch_table->realloc(old_mem, bytes); |
