OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/ic.h" | 5 #include "src/ic/ic.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api-arguments-inl.h" | 8 #include "src/api-arguments-inl.h" |
9 #include "src/api.h" | 9 #include "src/api.h" |
10 #include "src/arguments.h" | 10 #include "src/arguments.h" |
11 #include "src/base/bits.h" | 11 #include "src/base/bits.h" |
12 #include "src/codegen.h" | 12 #include "src/codegen.h" |
13 #include "src/conversions.h" | 13 #include "src/conversions.h" |
14 #include "src/execution.h" | 14 #include "src/execution.h" |
15 #include "src/field-type.h" | 15 #include "src/field-type.h" |
16 #include "src/frames-inl.h" | 16 #include "src/frames-inl.h" |
17 #include "src/ic/call-optimization.h" | 17 #include "src/ic/call-optimization.h" |
18 #include "src/ic/handler-compiler.h" | 18 #include "src/ic/handler-compiler.h" |
19 #include "src/ic/ic-compiler.h" | 19 #include "src/ic/ic-compiler.h" |
20 #include "src/ic/ic-inl.h" | 20 #include "src/ic/ic-inl.h" |
21 #include "src/ic/stub-cache.h" | 21 #include "src/ic/stub-cache.h" |
22 #include "src/isolate-inl.h" | 22 #include "src/isolate-inl.h" |
23 #include "src/macro-assembler.h" | 23 #include "src/macro-assembler.h" |
24 #include "src/prototype.h" | 24 #include "src/prototype.h" |
| 25 #include "src/runtime-profiler.h" |
25 #include "src/runtime/runtime-utils.h" | 26 #include "src/runtime/runtime-utils.h" |
26 #include "src/runtime/runtime.h" | 27 #include "src/runtime/runtime.h" |
27 #include "src/tracing/trace-event.h" | 28 #include "src/tracing/trace-event.h" |
28 | 29 |
29 namespace v8 { | 30 namespace v8 { |
30 namespace internal { | 31 namespace internal { |
31 | 32 |
32 char IC::TransitionMarkFromState(IC::State state) { | 33 char IC::TransitionMarkFromState(IC::State state) { |
33 switch (state) { | 34 switch (state) { |
34 case UNINITIALIZED: | 35 case UNINITIALIZED: |
(...skipping 2989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3024 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, | 3025 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, |
3025 vector->GetKind(vector_slot)); | 3026 vector->GetKind(vector_slot)); |
3026 KeyedLoadICNexus nexus(vector, vector_slot); | 3027 KeyedLoadICNexus nexus(vector, vector_slot); |
3027 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); | 3028 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); |
3028 ic.UpdateState(receiver, key); | 3029 ic.UpdateState(receiver, key); |
3029 RETURN_RESULT_OR_FAILURE(isolate, ic.Load(receiver, key)); | 3030 RETURN_RESULT_OR_FAILURE(isolate, ic.Load(receiver, key)); |
3030 } | 3031 } |
3031 } | 3032 } |
3032 } // namespace internal | 3033 } // namespace internal |
3033 } // namespace v8 | 3034 } // namespace v8 |
OLD | NEW |