Buildfix after r125541

https://bugs.webkit.org/show_bug.cgi?id=94097

Patch by Gabor Ballabas <gaborb@inf.u-szeged.hu> on 2012-08-15
Reviewed by Filip Pizlo.

r125541 has broken the traditional ARM port build of JSC.

* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::neg32):
(JSC::MacroAssemblerARM::xor32):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 017cfd54
2012-08-15 Gabor Ballabas <gaborb@inf.u-szeged.hu>
Buildfix after r125541
https://bugs.webkit.org/show_bug.cgi?id=94097
Reviewed by Filip Pizlo.
r125541 has broken the traditional ARM port build of JSC.
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::neg32):
(JSC::MacroAssemblerARM::xor32):
2012-08-14 Mark Hahnenberg <mhahnenberg@apple.com>
Change behavior of MasqueradesAsUndefined to better accommodate DFG changes
......
......@@ -204,7 +204,7 @@ public:
void neg32(RegisterID srcDest)
{
m_assembler.rsbs_r(srcDest, srcDest, ARMAssembler::getOp2Byte(0));
m_assembler.rsbs(srcDest, srcDest, ARMAssembler::getOp2Byte(0));
}
void or32(RegisterID src, RegisterID dest)
......@@ -303,12 +303,12 @@ public:
void xor32(RegisterID src, RegisterID dest)
{
m_assembler.eors_r(dest, dest, src);
m_assembler.eors(dest, dest, src);
}
void xor32(RegisterID op1, RegisterID op2, RegisterID dest)
{
m_assembler.eors_r(dest, op1, op2);
m_assembler.eors(dest, op1, op2);
}
void xor32(TrustedImm32 imm, RegisterID dest)
......@@ -316,7 +316,7 @@ public:
if (imm.m_value == -1)
m_assembler.mvns(dest, dest);
else
m_assembler.eors_r(dest, dest, m_assembler.getImm(imm.m_value, ARMRegisters::S0));
m_assembler.eors(dest, dest, m_assembler.getImm(imm.m_value, ARMRegisters::S0));
}
void xor32(TrustedImm32 imm, RegisterID src, RegisterID dest)
......@@ -324,7 +324,7 @@ public:
if (imm.m_value == -1)
m_assembler.mvns(dest, src);
else
m_assembler.eors_r(dest, src, m_assembler.getImm(imm.m_value, ARMRegisters::S0));
m_assembler.eors(dest, src, m_assembler.getImm(imm.m_value, ARMRegisters::S0));
}
void countLeadingZeros32(RegisterID src, RegisterID dest)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment