Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola

This commit is contained in:
Mook 2011-09-25 15:37:58 +01:00
Родитель 27cc5cc8df
Коммит f57c44d7ed
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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;