summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
authorJeffrey Pfau <jeffrey@endrift.com>2015-07-03 22:27:36 -0700
committerScott Mansell <phiren@gmail.com>2015-07-05 00:32:26 +1200
commitbd196e8c71853ef83a47156117efc2ad581f4b38 (patch)
tree363aa67264c443f824f99fda6e324b494fb96ac7 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
parent8a50dc857bbfc86c41706a6f48770a6f78285628 (diff)
Common: CallLambdaTrampoline can return a value
As it is currently written, CallLambdaTrampoline does not return a value. However, some of the functions that are being wrapped may return a value that the JIT is expected to understand. A compiler *cough cough clang* may opt to alter %rax after the wrapped lambda returns, e.g. popping a previous value, which can clobber the return value. If we actually have a return value, then the compiler must not clobber it.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
0 files changed, 0 insertions, 0 deletions