OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/ic/handler-compiler.h" | 5 #include "src/ic/handler-compiler.h" |
6 | 6 |
7 #include "src/cpu-profiler.h" | |
8 #include "src/ic/call-optimization.h" | 7 #include "src/ic/call-optimization.h" |
9 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
10 #include "src/ic/ic-inl.h" | 9 #include "src/ic/ic-inl.h" |
11 #include "src/isolate-inl.h" | 10 #include "src/isolate-inl.h" |
| 11 #include "src/profiler/cpu-profiler.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, | 17 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, |
18 Handle<Map> stub_holder, | 18 Handle<Map> stub_holder, |
19 Code::Kind kind, | 19 Code::Kind kind, |
20 CacheHolderFlag cache_holder, | 20 CacheHolderFlag cache_holder, |
21 Code::StubType type) { | 21 Code::StubType type) { |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 : kNoExtraICState); | 600 : kNoExtraICState); |
601 cached_stub = LoadDictionaryElementStub(isolate(), state).GetCode(); | 601 cached_stub = LoadDictionaryElementStub(isolate(), state).GetCode(); |
602 } | 602 } |
603 } | 603 } |
604 | 604 |
605 handlers->Add(cached_stub); | 605 handlers->Add(cached_stub); |
606 } | 606 } |
607 } | 607 } |
608 } // namespace internal | 608 } // namespace internal |
609 } // namespace v8 | 609 } // namespace v8 |
OLD | NEW |