Index: src/ic/mips64/handler-compiler-mips64.cc |
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc |
index 249f8fedb3e23ce2a163738a1ce1cbab2846d3e8..06af88d19e102905d572c9ee3e4358710ad78b38 100644 |
--- a/src/ic/mips64/handler-compiler-mips64.cc |
+++ b/src/ic/mips64/handler-compiler-mips64.cc |
@@ -129,14 +129,6 @@ void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
__ Daddu(sp, sp, Operand(2 * kPointerSize)); |
} |
-void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { |
- // No-op. Return address is in ra register. |
-} |
- |
-void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { |
- // No-op. Return address is in ra register. |
-} |
- |
void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
MacroAssembler* masm, Label* miss_label, Register receiver, |
Handle<Name> name, Register scratch0, Register scratch1) { |
@@ -181,18 +173,6 @@ void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
__ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); |
} |
- |
-void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype( |
- MacroAssembler* masm, int index, Register result, Label* miss) { |
- __ LoadNativeContextSlot(index, result); |
- // Load its initial map. The global functions all have initial maps. |
- __ ld(result, |
- FieldMemOperand(result, JSFunction::kPrototypeOrInitialMapOffset)); |
- // Load the prototype from the initial map. |
- __ ld(result, FieldMemOperand(result, Map::kPrototypeOffset)); |
-} |
- |
- |
void NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype( |
MacroAssembler* masm, Register receiver, Register scratch1, |
Register scratch2, Label* miss_label) { |
@@ -342,57 +322,6 @@ void NamedStoreHandlerCompiler::GenerateRestoreName(Label* label, |
} |
} |
- |
-void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
- __ li(this->name(), Operand(name)); |
-} |
- |
- |
-void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
- Register map_reg, |
- Register scratch, |
- Label* miss) { |
- Handle<WeakCell> cell = Map::WeakCellForMap(transition); |
- DCHECK(!map_reg.is(scratch)); |
- __ LoadWeakValue(map_reg, cell, miss); |
- if (transition->CanBeDeprecated()) { |
- __ lwu(scratch, FieldMemOperand(map_reg, Map::kBitField3Offset)); |
- __ And(at, scratch, Operand(Map::Deprecated::kMask)); |
- __ Branch(miss, ne, at, Operand(zero_reg)); |
- } |
-} |
- |
- |
-void NamedStoreHandlerCompiler::GenerateConstantCheck(Register map_reg, |
- int descriptor, |
- Register value_reg, |
- Register scratch, |
- Label* miss_label) { |
- DCHECK(!map_reg.is(scratch)); |
- DCHECK(!map_reg.is(value_reg)); |
- DCHECK(!value_reg.is(scratch)); |
- __ LoadInstanceDescriptors(map_reg, scratch); |
- __ ld(scratch, |
- FieldMemOperand(scratch, DescriptorArray::GetValueOffset(descriptor))); |
- __ Branch(miss_label, ne, value_reg, Operand(scratch)); |
-} |
- |
-void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(FieldType* field_type, |
- Register value_reg, |
- Label* miss_label) { |
- Register map_reg = scratch1(); |
- Register scratch = scratch2(); |
- DCHECK(!value_reg.is(map_reg)); |
- DCHECK(!value_reg.is(scratch)); |
- __ JumpIfSmi(value_reg, miss_label); |
- if (field_type->IsClass()) { |
- __ ld(map_reg, FieldMemOperand(value_reg, HeapObject::kMapOffset)); |
- // Compare map directly within the Branch() functions. |
- __ GetWeakValue(scratch, Map::WeakCellForMap(field_type->AsClass())); |
- __ Branch(miss_label, ne, map_reg, Operand(scratch)); |
- } |
-} |
- |
void PropertyHandlerCompiler::GenerateAccessCheck( |
Handle<WeakCell> native_context_cell, Register scratch1, Register scratch2, |
Label* miss, bool compare_native_contexts_only) { |
@@ -520,14 +449,6 @@ void NamedStoreHandlerCompiler::FrontendFooter(Handle<Name> name, Label* miss) { |
} |
} |
- |
-void NamedLoadHandlerCompiler::GenerateLoadConstant(Handle<Object> value) { |
- // Return the constant value. |
- __ li(v0, value); |
- __ Ret(); |
-} |
- |
- |
void NamedLoadHandlerCompiler::GenerateLoadInterceptorWithFollowup( |
LookupIterator* it, Register holder_reg) { |
DCHECK(holder()->HasNamedInterceptor()); |