Bug 1123631 - SIMD Ion: Disable inlining of Float64x2. r=bbouvier

This commit is contained in:
Nicolas B. Pierron 2015-01-21 16:57:12 +01:00
parent c88d8c3716
commit 09de8e21b2
2 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,9 @@
if (!this.hasOwnProperty("SIMD"))
quit();
var float64x2 = SIMD.float64x2;
function test() {
var a = float64x2(1, 2);
}
test();
test();

View File

@ -2530,9 +2530,8 @@ IonBuilder::inlineConstructSimdObject(CallInfo &callInfo, SimdTypeDescr *descr)
case SimdTypeDescr::TYPE_FLOAT32:
simdType = MIRType_Float32x4;
break;
default:
MOZ_CRASH("Unknown SIMD kind when generating MSimdBox instruction.");
return InliningStatus_NotInlined;
case SimdTypeDescr::TYPE_FLOAT64:
return InliningStatus_NotInlined; // :TODO: NYI (Bug 1124205)
}
// We do not inline SIMD constructors if the number of arguments does not