Bug 1229057 - Part 5: Remove unused MacroAssemblerX86::addConstantFloat32. r=h4writer

--HG--
extra : rebase_source : df9a013982a0e914c1044ec7868158f2ac52dc0a
This commit is contained in:
Tooru Fujisawa 2015-12-01 17:02:44 +09:00
parent c2589bf7a5
commit c0f3fbb3d0
3 changed files with 0 additions and 12 deletions

View File

@ -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(); }

View File

@ -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)
{

View File

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