Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 1979500266af86ff22cdc6d6898b9a84c3452ee6..3bfe0ee078399f7e068eb7f509350b37bff25716 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -2431,18 +2431,6 @@ bool MacroAssembler::AllowThisStubCall(CodeStub* stub) { |
return has_frame_ || !stub->SometimesSetsUpAFrame(); |
} |
- |
-void MacroAssembler::IndexFromHash(Register hash, Register index) { |
- // If the hash field contains an array index pick it out. 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)); |
- DecodeFieldToSmi<String::ArrayIndexValueBits>(index, hash); |
-} |
- |
- |
void MacroAssembler::SmiToDouble(DoubleRegister value, Register smi) { |
SmiUntag(ip, smi); |
ConvertIntToDouble(ip, value); |