зеркало из https://github.com/mozilla/gecko-dev.git
Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola
This commit is contained in:
Родитель
27cc5cc8df
Коммит
f57c44d7ed
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче