Unreviewed, rolling out r189136.
[WebKit-https.git] / Source / JavaScriptCore / assembler / MacroAssemblerARMv7.h
index 2cbd894..cb5efde 100644 (file)
@@ -1305,7 +1305,7 @@ public:
 private:
 
     // Should we be using TEQ for equal/not-equal?
-    void compare32AndSetFlags(RegisterID left, TrustedImm32 right)
+    void compare32(RegisterID left, TrustedImm32 right)
     {
         int32_t imm = right.m_value;
         ARMThumbImmediate armImm = ARMThumbImmediate::makeEncodedImm(imm);
@@ -1363,7 +1363,7 @@ public:
 
     Jump branch32(RelationalCondition cond, RegisterID left, TrustedImm32 right)
     {
-        compare32AndSetFlags(left, right);
+        compare32(left, right);
         return Jump(makeBranch(cond));
     }
 
@@ -1421,7 +1421,7 @@ public:
 
     Jump branch8(RelationalCondition cond, RegisterID left, TrustedImm32 right)
     {
-        compare32AndSetFlags(left, right);
+        compare32(left, right);
         return Jump(makeBranch(cond));
     }
 
@@ -1721,7 +1721,7 @@ public:
 
     void compare32(RelationalCondition cond, RegisterID left, TrustedImm32 right, RegisterID dest)
     {
-        compare32AndSetFlags(left, right);
+        compare32(left, right);
         m_assembler.it(armV7Condition(cond), false);
         m_assembler.mov(dest, ARMThumbImmediate::makeUInt16(1));
         m_assembler.mov(dest, ARMThumbImmediate::makeUInt16(0));