diff options
author | Elliott Hughes <enh@google.com> | 2020-02-05 08:07:10 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-02-05 08:18:51 -0800 |
commit | 026d3a8fa5f2ae8e7ce288369791581fd7cf5f19 (patch) | |
tree | 5ea4ff1d2489df502414fbfa0c311b813728f72f /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 2968695188152dbdc7529e56d6acbe4f77cbd2b4 (diff) |
<ctype.h>: inline the ASCII functions.
We've optimized the ctype functions to the point where they're pretty
much all down to one instruction. This change takes the obvious next
step of just inlining them.
On Android these function have only ever been for ASCII. You need the
<wctype.h> functions for non-ASCII.
libc++ currently has its own inlines for the _l variants, so if we want
to just inline them in bionic directly, we'll need to coordinate that.
Bug: http://b/144165498
Test: treehugger plus benchmarks
Change-Id: I4cc8aa96f7994ae710a562cfc9d4f220ab7babd6
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions