Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 6bd62d065226dc2b3b0235863914f85e9212f853..0a739dacfb0c472ee72de508b5c4552852cc4086 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -676,20 +676,6 @@ bool MacroAssembler::AllowThisStubCall(CodeStub* stub) { |
return has_frame_ || !stub->SometimesSetsUpAFrame(); |
} |
- |
-void MacroAssembler::IndexFromHash(Register hash, Register index) { |
- // The assert checks that the constants for the maximum number of digits |
- // for an array index cached in the hash field and the number of bits |
- // reserved for it does not conflict. |
- DCHECK(TenToThe(String::kMaxCachedArrayIndexLength) < |
- (1 << String::kArrayIndexValueBits)); |
- if (!hash.is(index)) { |
- movl(index, hash); |
- } |
- DecodeFieldToSmi<String::ArrayIndexValueBits>(index); |
-} |
- |
- |
void MacroAssembler::CallRuntime(const Runtime::Function* f, |
int num_arguments, |
SaveFPRegsMode save_doubles) { |