| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 1b65dd05edd45c8c7581019baa6e79136336152b..5259d7f5f75e76c99a735712617c78ae7b93d753 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -3128,32 +3128,6 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadInterceptor(
|
| }
|
|
|
|
|
| -Handle<Code> KeyedLoadStubCompiler::CompileLoadArrayLength(
|
| - Handle<String> name) {
|
| - // ----------- S t a t e -------------
|
| - // -- rax : key
|
| - // -- rdx : receiver
|
| - // -- rsp[0] : return address
|
| - // -----------------------------------
|
| - Label miss;
|
| -
|
| - Counters* counters = isolate()->counters();
|
| - __ IncrementCounter(counters->keyed_load_array_length(), 1);
|
| -
|
| - // Check that the name has not changed.
|
| - __ Cmp(rax, name);
|
| - __ j(not_equal, &miss);
|
| -
|
| - GenerateLoadArrayLength(masm(), rdx, rcx, &miss);
|
| - __ bind(&miss);
|
| - __ DecrementCounter(counters->keyed_load_array_length(), 1);
|
| - GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
|
| -
|
| - // Return the generated code.
|
| - return GetCode(Code::CALLBACKS, name);
|
| -}
|
| -
|
| -
|
| Handle<Code> KeyedLoadStubCompiler::CompileLoadFunctionPrototype(
|
| Handle<String> name) {
|
| // ----------- S t a t e -------------
|
|
|