summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorJeffrey Pfau <jeffrey@endrift.com>2015-07-03 22:27:36 -0700
committerJeffrey Pfau <jeffrey@endrift.com>2015-07-04 00:57:41 -0700
commitc9a25f9484d9a1e1dd6037ebd7a7c130ac40cfde (patch)
tree611b998e284731587bada7810f03fe4a12ae0cf3 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
parent3fc070c4fc6aa91bfa446bb8af87ec140a4ebf73 (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/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions