diff options
| author | Jeffrey Pfau <jeffrey@endrift.com> | 2015-07-03 22:27:36 -0700 |
|---|---|---|
| committer | Jeffrey Pfau <jeffrey@endrift.com> | 2015-07-04 00:57:41 -0700 |
| commit | c9a25f9484d9a1e1dd6037ebd7a7c130ac40cfde (patch) | |
| tree | 611b998e284731587bada7810f03fe4a12ae0cf3 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | 3fc070c4fc6aa91bfa446bb8af87ec140a4ebf73 (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
