mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 18:40:41 +00:00
import change from rmottola/Arctic-Fox:
- Bug 1128076 - Clean up naming around unboxed scalar MIR accesses (08ee23875) - more pointer style (f20c11717) - Bug 1139152 - IonMonkey: Add dynamic output type checks for LIRs that use redefine (286e5a552) - Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle (4a5e7078e) - Bug 1135039: Implement LVariadicInstruction (112d6f02c) - Bug 1135039: Generalize swizzle MIR node to SimdGeneralShuffle (076f75d26) - Bug 1135039: Generalize SimdGeneralShuffle codegen (e3deae006) - more style (23944c5fd) - Bug 1135039: Factor out LInstructionHelper/LVariadicInstruction code (e02b132ad) - update pointer style... (db3f11786) - Bug 1135042: Optimize SIMD.loadX/loadXY/loadXYZ in Ion (013bc896e)
This commit is contained in:
@@ -1670,7 +1670,7 @@ GetTypedArrayRange(TempAllocator &alloc, Scalar::Type type)
|
||||
}
|
||||
|
||||
void
|
||||
MLoadTypedArrayElement::computeRange(TempAllocator &alloc)
|
||||
MLoadUnboxedScalar::computeRange(TempAllocator &alloc)
|
||||
{
|
||||
// We have an Int32 type and if this is a UInt32 load it may produce a value
|
||||
// outside of our range, but we have a bailout to handle those cases.
|
||||
@@ -2634,7 +2634,7 @@ MToDouble::operandTruncateKind(size_t index) const
|
||||
}
|
||||
|
||||
MDefinition::TruncateKind
|
||||
MStoreTypedArrayElement::operandTruncateKind(size_t index) const
|
||||
MStoreUnboxedScalar::operandTruncateKind(size_t index) const
|
||||
{
|
||||
// An integer store truncates the stored value.
|
||||
return index == 2 && isIntegerWrite() ? Truncate : NoTruncate;
|
||||
|
||||
Reference in New Issue
Block a user