mapi: Inline call x86_current_tls.
authorLepton Wu <lepton@chromium.org>
Tue, 22 Oct 2019 03:22:18 +0000 (20:22 -0700)
committerLepton Wu <lepton@chromium.org>
Thu, 24 Oct 2019 23:37:18 +0000 (23:37 +0000)
commite137b3a9b71a2711c1f68c8a8b9c0a7407fbcc4b
tree1a6f740be3757e844d2168d91a1e2203d55397fb
parenta4fec4dd6a2ff2209047ea9931cbf50bb4521819
mapi: Inline call x86_current_tls.

This saves one return and a simple benchmark which calls glGetString
repeatedly on my desktop shows it improves calls per second from 118M
to 128M.

Signed-off-by: Lepton Wu <lepton@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/mapi/entry_x86_tls.h