diff options
| -rw-r--r-- | compiler-rt/lib/scudo/scudo_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/scudo_allocator.cpp b/compiler-rt/lib/scudo/scudo_allocator.cpp index 6383c681958..d7df317ffc8 100644 --- a/compiler-rt/lib/scudo/scudo_allocator.cpp +++ b/compiler-rt/lib/scudo/scudo_allocator.cpp @@ -157,7 +157,7 @@ struct ScudoChunk : UnpackedHeader { } }; -ScudoChunk *getScudoChunk(uptr UserBeg) { +INLINE ScudoChunk *getScudoChunk(uptr UserBeg) { return reinterpret_cast<ScudoChunk *>(UserBeg - AlignedChunkHeaderSize); } |

