diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scudo/scudo_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scudo/scudo_allocator.cpp b/lib/scudo/scudo_allocator.cpp index 6383c6819..d7df317ff 100644 --- a/lib/scudo/scudo_allocator.cpp +++ b/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); } |