aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/shared_memory.cpp
diff options
context:
space:
mode:
authorheapo <heapo3@gmail.com>2018-12-04 10:32:00 -0800
committerheapo <heapo3@gmail.com>2018-12-04 17:13:07 -0800
commit5c8f2009bb85619f6a8a964628b5767c0f805dbb (patch)
treefe5132bfe5d2b51abb64cf3f060fa6238bbadb3b /src/core/hle/kernel/shared_memory.cpp
parenta20eec1c58f974fc00080d53e45fb25ad9309203 (diff)
Improve msvc codegen for hot-path array LUTs
In some constexpr functions, msvc is building the LUT at runtime (pushing each element onto the stack) out of an abundance of caution. Moving the arrays into be file-scoped constexpr's avoids this and turns the functions into simple look-ups as intended.
Diffstat (limited to 'src/core/hle/kernel/shared_memory.cpp')
0 files changed, 0 insertions, 0 deletions