folly: speed up fastpath of ThreadLocal::get()
authorLucian Grijincu <lucian@fb.com>
Wed, 3 Apr 2013 04:29:02 +0000 (21:29 -0700)
committerJordan DeLong <jdelong@fb.com>
Sun, 21 Apr 2013 20:20:51 +0000 (13:20 -0700)
commitee31dcdd50b912e63633d493921851d7928c7c03
tree83a99152c28e4223e18a469df7ab6665fed4062f
parent05fd99096aadb7fea9104d0f38e2f48daff19410
folly: speed up fastpath of ThreadLocal::get()

Summary:
A smaller function makes it more likely it will be inlined
(it wasn't before, is now).

Test Plan: n/a

Reviewed By: tudorb@fb.com

FB internal diff: D759996
folly/ThreadLocal.h