mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1229057
- Part 5: Remove unused MacroAssemblerX86::addConstantFloat32. r=h4writer
--HG-- extra : rebase_source : df9a013982a0e914c1044ec7868158f2ac52dc0a
This commit is contained in:
parent
c2589bf7a5
commit
c0f3fbb3d0
@ -412,7 +412,6 @@ class MacroAssemblerNone : public Assembler
|
||||
void loadConstantDouble(double, FloatRegister) { MOZ_CRASH(); }
|
||||
void addConstantDouble(double, FloatRegister) { MOZ_CRASH(); }
|
||||
void loadConstantFloat32(float, FloatRegister) { MOZ_CRASH(); }
|
||||
void addConstantFloat32(float, FloatRegister) { MOZ_CRASH(); }
|
||||
Condition testInt32Truthy(bool, ValueOperand) { MOZ_CRASH(); }
|
||||
Condition testStringTruthy(bool, ValueOperand) { MOZ_CRASH(); }
|
||||
void branchTestInt32Truthy(bool, ValueOperand, Label*) { MOZ_CRASH(); }
|
||||
|
@ -124,16 +124,6 @@ MacroAssemblerX86::loadConstantFloat32(float f, FloatRegister dest)
|
||||
propagateOOM(flt->uses.append(CodeOffset(masm.size())));
|
||||
}
|
||||
|
||||
void
|
||||
MacroAssemblerX86::addConstantFloat32(float f, FloatRegister dest)
|
||||
{
|
||||
Float* flt = getFloat(f);
|
||||
if (!flt)
|
||||
return;
|
||||
masm.vaddss_mr(nullptr, dest.encoding(), dest.encoding());
|
||||
propagateOOM(flt->uses.append(CodeOffset(masm.size())));
|
||||
}
|
||||
|
||||
void
|
||||
MacroAssemblerX86::loadConstantInt32x4(const SimdConstant& v, FloatRegister dest)
|
||||
{
|
||||
|
@ -988,7 +988,6 @@ class MacroAssemblerX86 : public MacroAssemblerX86Shared
|
||||
void loadConstantDouble(double d, FloatRegister dest);
|
||||
void addConstantDouble(double d, FloatRegister dest);
|
||||
void loadConstantFloat32(float f, FloatRegister dest);
|
||||
void addConstantFloat32(float f, FloatRegister dest);
|
||||
void loadConstantInt32x4(const SimdConstant& v, FloatRegister dest);
|
||||
void loadConstantFloat32x4(const SimdConstant& v, FloatRegister dest);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user