mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 861139 - Fix the return of a floating point value from an ARM asm.js entry. r=mrosenberg
This commit is contained in:
parent
00e3c7f5b2
commit
0f512e6189
@ -4902,7 +4902,9 @@ GenerateEntry(ModuleCompiler &m, const AsmJSModule::ExportedFunction &exportedFu
|
||||
masm.storeValue(JSVAL_TYPE_INT32, ReturnReg, Address(argv, 0));
|
||||
break;
|
||||
case RetType::Double:
|
||||
#ifndef JS_CPU_ARM_HARDFP
|
||||
masm.ma_vxfer(r0, r1, d0);
|
||||
#endif
|
||||
masm.canonicalizeDouble(ReturnFloatReg);
|
||||
masm.storeDouble(ReturnFloatReg, Address(argv, 0));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user