| Index: src/ic/s390/handler-compiler-s390.cc
|
| diff --git a/src/ic/s390/handler-compiler-s390.cc b/src/ic/s390/handler-compiler-s390.cc
|
| index 277eca5e6d4cca5edf728ad1090d378f44b86850..f15a04d7349dd66219186582c2a4cbdaf9b8be79 100644
|
| --- a/src/ic/s390/handler-compiler-s390.cc
|
| +++ b/src/ic/s390/handler-compiler-s390.cc
|
| @@ -562,55 +562,6 @@ void NamedLoadHandlerCompiler::GenerateLoadConstant(Handle<Object> value) {
|
| __ Ret();
|
| }
|
|
|
| -void NamedLoadHandlerCompiler::GenerateLoadCallback(
|
| - Register reg, Handle<AccessorInfo> callback) {
|
| - DCHECK(!AreAliased(scratch2(), scratch3(), scratch4(), receiver()));
|
| - DCHECK(!AreAliased(scratch2(), scratch3(), scratch4(), reg));
|
| -
|
| - // Build v8::PropertyCallbackInfo::args_ array on the stack and push property
|
| - // name below the exit frame to make GC aware of them.
|
| - STATIC_ASSERT(PropertyCallbackArguments::kShouldThrowOnErrorIndex == 0);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kHolderIndex == 1);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kIsolateIndex == 2);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kReturnValueDefaultValueIndex == 3);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kReturnValueOffset == 4);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kDataIndex == 5);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kThisIndex == 6);
|
| - STATIC_ASSERT(PropertyCallbackArguments::kArgsLength == 7);
|
| -
|
| - __ Push(receiver());
|
| - // Push data from AccessorInfo.
|
| - Handle<Object> data(callback->data(), isolate());
|
| - if (data->IsUndefined() || data->IsSmi()) {
|
| - __ Move(scratch2(), data);
|
| - } else {
|
| - Handle<WeakCell> cell =
|
| - isolate()->factory()->NewWeakCell(Handle<HeapObject>::cast(data));
|
| - // The callback is alive if this instruction is executed,
|
| - // so the weak cell is not cleared and points to data.
|
| - __ GetWeakValue(scratch2(), cell);
|
| - }
|
| - __ push(scratch2());
|
| - __ LoadRoot(scratch2(), Heap::kUndefinedValueRootIndex);
|
| - __ Push(scratch2(), scratch2());
|
| - __ mov(scratch2(), Operand(ExternalReference::isolate_address(isolate())));
|
| - // should_throw_on_error -> false
|
| - __ mov(scratch3(), Operand(Smi::FromInt(0)));
|
| - __ Push(scratch2(), reg, scratch3(), name());
|
| -
|
| - // Abi for CallApiGetter
|
| - Register getter_address_reg = ApiGetterDescriptor::function_address();
|
| -
|
| - Address getter_address = v8::ToCData<Address>(callback->getter());
|
| - ApiFunction fun(getter_address);
|
| - ExternalReference::Type type = ExternalReference::DIRECT_GETTER_CALL;
|
| - ExternalReference ref = ExternalReference(&fun, type, isolate());
|
| - __ mov(getter_address_reg, Operand(ref));
|
| -
|
| - CallApiGetterStub stub(isolate());
|
| - __ TailCallStub(&stub);
|
| -}
|
| -
|
| void NamedLoadHandlerCompiler::GenerateLoadInterceptorWithFollowup(
|
| LookupIterator* it, Register holder_reg) {
|
| DCHECK(holder()->HasNamedInterceptor());
|
|
|