| Index: src/mips64/stub-cache-mips64.cc
|
| diff --git a/src/mips64/stub-cache-mips64.cc b/src/mips64/stub-cache-mips64.cc
|
| index 939c28faa0d8d0606b261ea49b9eba732c5bb683..2f439dee40a99f69faf6edba7003f53942ce93cd 100644
|
| --- a/src/mips64/stub-cache-mips64.cc
|
| +++ b/src/mips64/stub-cache-mips64.cc
|
| @@ -841,49 +841,6 @@ void NamedStoreHandlerCompiler::FrontendFooter(Handle<Name> name, Label* miss) {
|
| }
|
|
|
|
|
| -Register NamedLoadHandlerCompiler::CallbackFrontend(Register object_reg,
|
| - Handle<Name> name,
|
| - Handle<Object> callback) {
|
| - Label miss;
|
| -
|
| - Register reg = FrontendHeader(object_reg, name, &miss);
|
| -
|
| - if (!holder()->HasFastProperties()) {
|
| - DCHECK(!holder()->IsGlobalObject());
|
| - DCHECK(!reg.is(scratch2()));
|
| - DCHECK(!reg.is(scratch3()));
|
| - DCHECK(!reg.is(scratch4()));
|
| -
|
| - // Load the properties dictionary.
|
| - Register dictionary = scratch4();
|
| - __ ld(dictionary, FieldMemOperand(reg, JSObject::kPropertiesOffset));
|
| -
|
| - // Probe the dictionary.
|
| - Label probe_done;
|
| - NameDictionaryLookupStub::GeneratePositiveLookup(masm(),
|
| - &miss,
|
| - &probe_done,
|
| - dictionary,
|
| - this->name(),
|
| - scratch2(),
|
| - scratch3());
|
| - __ bind(&probe_done);
|
| -
|
| - // If probing finds an entry in the dictionary, scratch3 contains the
|
| - // pointer into the dictionary. Check that the value is the callback.
|
| - Register pointer = scratch3();
|
| - const int kElementsStartOffset = NameDictionary::kHeaderSize +
|
| - NameDictionary::kElementsStartIndex * kPointerSize;
|
| - const int kValueOffset = kElementsStartOffset + kPointerSize;
|
| - __ ld(scratch2(), FieldMemOperand(pointer, kValueOffset));
|
| - __ Branch(&miss, ne, scratch2(), Operand(callback));
|
| - }
|
| -
|
| - FrontendFooter(name, &miss);
|
| - return reg;
|
| -}
|
| -
|
| -
|
| void NamedLoadHandlerCompiler::GenerateLoadField(
|
| Register reg, FieldIndex field, Representation representation) {
|
| if (!reg.is(receiver())) __ mov(receiver(), reg);
|
|
|