mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola
This commit is contained in:
parent
6171ee4207
commit
e0e76eec52
@ -114,7 +114,7 @@ PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
|
||||
// The value in %xmm register is already prepared to
|
||||
// be retrieved as a float. Therefore, we pass the
|
||||
// value verbatim, as a double without conversion.
|
||||
dp->val.d = *(double*) ap++;
|
||||
dp->val.d = fpregs[nr_fpr++];
|
||||
else
|
||||
dp->val.f = *(float*) ap++;
|
||||
continue;
|
||||
|
@ -114,7 +114,7 @@ PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
|
||||
// The value in %xmm register is already prepared to
|
||||
// be retrieved as a float. Therefore, we pass the
|
||||
// value verbatim, as a double without conversion.
|
||||
dp->val.d = *(double*) ap++;
|
||||
dp->val.d = fpregs[nr_fpr++];
|
||||
else
|
||||
dp->val.f = *(float*) ap++;
|
||||
continue;
|
||||
|
@ -114,7 +114,7 @@ PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
|
||||
// The value in %xmm register is already prepared to
|
||||
// be retrieved as a float. Therefore, we pass the
|
||||
// value verbatim, as a double without conversion.
|
||||
dp->val.d = *(double*) ap++;
|
||||
dp->val.d = fpregs[nr_fpr++];
|
||||
else
|
||||
dp->val.f = *(float*) ap++;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user