Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index d9a8efd38a0989498b34b13a6dd0de6a8e8e9e18..823a528e7fb3b082d510b908926531792334ca5a 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -2453,30 +2453,6 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) { |
EmitBranch(instr, BranchCondition(instr->hydrogen())); |
} |
- |
-void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) { |
- Register input = ToRegister(instr->value()); |
- Register result = ToRegister(instr->result()); |
- |
- __ AssertString(input); |
- |
- __ lwz(result, FieldMemOperand(input, String::kHashFieldOffset)); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- Register scratch = scratch0(); |
- |
- __ lwz(scratch, FieldMemOperand(input, String::kHashFieldOffset)); |
- __ mov(r0, Operand(String::kContainsCachedArrayIndexMask)); |
- __ and_(r0, scratch, r0, SetRC); |
- EmitBranch(instr, eq, cr0); |
-} |
- |
- |
// Branches to a label or falls through with the answer in flags. Trashes |
// the temp registers, but not the input. |
void LCodeGen::EmitClassOfTest(Label* is_true, Label* is_false, |