Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index f5cab6bd5ca30212a9e68edc075769f52481481c..6ff918fd54b2b13b757df9db56e5249ef35db991 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -2332,29 +2332,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); |
- |
- __ movl(result, FieldOperand(input, String::kHashFieldOffset)); |
- DCHECK(String::kHashShift >= kSmiTagSize); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- |
- __ testl(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 register. |
void LCodeGen::EmitClassOfTest(Label* is_true, |