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" | 7 #include "src/cpu-profiler.h" |
8 #include "src/ic/call-optimization.h" | 8 #include "src/ic/call-optimization.h" |
9 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
10 #include "src/ic/ic-inl.h" | 10 #include "src/ic/ic-inl.h" |
| 11 #include "src/isolate-inl.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 | 16 |
16 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, | 17 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, |
17 Handle<Map> stub_holder, | 18 Handle<Map> stub_holder, |
18 Code::Kind kind, | 19 Code::Kind kind, |
19 CacheHolderFlag cache_holder, | 20 CacheHolderFlag cache_holder, |
20 Code::StubType type) { | 21 Code::StubType type) { |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 : kNoExtraICState); | 576 : kNoExtraICState); |
576 cached_stub = LoadDictionaryElementStub(isolate(), state).GetCode(); | 577 cached_stub = LoadDictionaryElementStub(isolate(), state).GetCode(); |
577 } | 578 } |
578 } | 579 } |
579 | 580 |
580 handlers->Add(cached_stub); | 581 handlers->Add(cached_stub); |
581 } | 582 } |
582 } | 583 } |
583 } // namespace internal | 584 } // namespace internal |
584 } // namespace v8 | 585 } // namespace v8 |
OLD | NEW |