| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 46d74b6b2f4e52f463c96b36458a0250f607d3db..1b65dd05edd45c8c7581019baa6e79136336152b 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -3154,32 +3154,6 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadArrayLength(
|
| }
|
|
|
|
|
| -Handle<Code> KeyedLoadStubCompiler::CompileLoadStringLength(
|
| - 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_string_length(), 1);
|
| -
|
| - // Check that the name has not changed.
|
| - __ Cmp(rax, name);
|
| - __ j(not_equal, &miss);
|
| -
|
| - GenerateLoadStringLength(masm(), rdx, rcx, rbx, &miss, true);
|
| - __ bind(&miss);
|
| - __ DecrementCounter(counters->keyed_load_string_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 -------------
|
|
|