Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index fa340a263a6be22e5ec383b9c0958a0ce6fdff63..1282af7f9f298ff2458d3c1b3068d16fff4a7c88 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2063,20 +2063,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 (!index.is(hash)) { |
- mov(index, hash); |
- } |
- DecodeFieldToSmi<String::ArrayIndexValueBits>(index); |
-} |
- |
- |
void MacroAssembler::CallRuntime(const Runtime::Function* f, |
int num_arguments, |
SaveFPRegsMode save_doubles) { |