Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index ab0cf3995002e5da4bbc104ab19cc0b88405d6fb..71a500034a917182e36c862bab714a7473a376d0 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -2187,28 +2187,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); |
- |
- __ mov(result, FieldOperand(input, String::kHashFieldOffset)); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- |
- __ test(FieldOperand(input, String::kHashFieldOffset), |
- Immediate(String::kContainsCachedArrayIndexMask)); |
- EmitBranch(instr, equal); |
-} |
- |
- |
// Branches to a label or falls through with the answer in the z flag. Trashes |
// the temp registers, but not the input. |
void LCodeGen::EmitClassOfTest(Label* is_true, |