Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 0c9f0b0f1aaff94a9a0610455146d3e06f8832ea..72a0c462cffe564b31ce2bdd9fa02e91ffa4ebed 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -609,8 +609,7 @@ static void EmitCheckForInternalizedStringsOrObjects(MacroAssembler* masm, |
} |
-static void ICCompareStub_CheckInputType(MacroAssembler* masm, |
- Register input, |
+static void CompareICStub_CheckInputType(MacroAssembler* masm, Register input, |
Register scratch, |
CompareIC::State expected, |
Label* fail) { |
@@ -631,14 +630,14 @@ static void ICCompareStub_CheckInputType(MacroAssembler* masm, |
// On entry a1 and a2 are the values to be compared. |
// On exit a0 is 0, positive or negative to indicate the result of |
// the comparison. |
-void ICCompareStub::GenerateGeneric(MacroAssembler* masm) { |
+void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
Register lhs = a1; |
Register rhs = a0; |
Condition cc = GetCondition(); |
Label miss; |
- ICCompareStub_CheckInputType(masm, lhs, a2, left(), &miss); |
- ICCompareStub_CheckInputType(masm, rhs, a3, right(), &miss); |
+ CompareICStub_CheckInputType(masm, lhs, a2, left(), &miss); |
+ CompareICStub_CheckInputType(masm, rhs, a3, right(), &miss); |
Label slow; // Call builtin. |
Label not_smis, both_loaded_as_doubles; |
@@ -3522,7 +3521,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateSmis(MacroAssembler* masm) { |
+void CompareICStub::GenerateSmis(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::SMI); |
Label miss; |
__ Or(a2, a1, a0); |
@@ -3545,7 +3544,7 @@ void ICCompareStub::GenerateSmis(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateNumbers(MacroAssembler* masm) { |
+void CompareICStub::GenerateNumbers(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::NUMBER); |
Label generic_stub; |
@@ -3613,7 +3612,7 @@ void ICCompareStub::GenerateNumbers(MacroAssembler* masm) { |
__ bind(&unordered); |
__ bind(&generic_stub); |
- ICCompareStub stub(isolate(), op(), CompareIC::GENERIC, CompareIC::GENERIC, |
+ CompareICStub stub(isolate(), op(), CompareIC::GENERIC, CompareIC::GENERIC, |
CompareIC::GENERIC); |
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
@@ -3638,7 +3637,7 @@ void ICCompareStub::GenerateNumbers(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) { |
+void CompareICStub::GenerateInternalizedStrings(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::INTERNALIZED_STRING); |
Label miss; |
@@ -3678,7 +3677,7 @@ void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateUniqueNames(MacroAssembler* masm) { |
+void CompareICStub::GenerateUniqueNames(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::UNIQUE_NAME); |
DCHECK(GetCondition() == eq); |
Label miss; |
@@ -3722,7 +3721,7 @@ void ICCompareStub::GenerateUniqueNames(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateStrings(MacroAssembler* masm) { |
+void CompareICStub::GenerateStrings(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::STRING); |
Label miss; |
@@ -3808,7 +3807,7 @@ void ICCompareStub::GenerateStrings(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateObjects(MacroAssembler* masm) { |
+void CompareICStub::GenerateObjects(MacroAssembler* masm) { |
DCHECK(state() == CompareIC::OBJECT); |
Label miss; |
__ And(a2, a1, Operand(a0)); |
@@ -3828,7 +3827,7 @@ void ICCompareStub::GenerateObjects(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateKnownObjects(MacroAssembler* masm) { |
+void CompareICStub::GenerateKnownObjects(MacroAssembler* masm) { |
Label miss; |
__ And(a2, a1, a0); |
__ JumpIfSmi(a2, &miss); |
@@ -3845,7 +3844,7 @@ void ICCompareStub::GenerateKnownObjects(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateMiss(MacroAssembler* masm) { |
+void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
{ |
// Call the runtime system in a fresh internal frame. |
ExternalReference miss = |