Sürüm
4.0-6762
Sürüm
stable
Tarih
5 yıl, 3 ay önce
Windows x64 Android Mac OS X
Uygula
bd196e8c71853ef83a47156117efc2ad581f4b38
Yazarı değiştir
Jeffrey Pfau
Açıklamayı değiştir
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.