mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1076670 part 2 - Use VS2013 Win64 sin(-0) workaround for Odin code too. r=luke
--HG-- extra : rebase_source : f02971180f0679c069ed0e4dc492ab19893302b8
This commit is contained in:
parent
6f5a4b7a57
commit
902b4f4a70
@ -652,7 +652,12 @@ AddressOf(AsmJSImmKind kind, ExclusiveContext *cx)
|
||||
case AsmJSImm_ModD:
|
||||
return RedirectCall(FuncCast(NumberMod), Args_Double_DoubleDouble);
|
||||
case AsmJSImm_SinD:
|
||||
#ifdef _WIN64
|
||||
// Workaround a VS 2013 sin issue, see math_sin_uncached.
|
||||
return RedirectCall(FuncCast<double (double)>(js::math_sin_uncached), Args_Double_Double);
|
||||
#else
|
||||
return RedirectCall(FuncCast<double (double)>(sin), Args_Double_Double);
|
||||
#endif
|
||||
case AsmJSImm_CosD:
|
||||
return RedirectCall(FuncCast<double (double)>(cos), Args_Double_Double);
|
||||
case AsmJSImm_TanD:
|
||||
|
Loading…
Reference in New Issue
Block a user