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.h" | 9 #include "src/api.h" |
9 #include "src/api-arguments.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-inl.h" | 20 #include "src/ic/ic-inl.h" |
20 #include "src/ic/ic-compiler.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/runtime-utils.h" |
25 #include "src/runtime/runtime.h" | 26 #include "src/runtime/runtime.h" |
26 #include "src/runtime/runtime-utils.h" | |
27 #include "src/tracing/trace-event.h" | 27 #include "src/tracing/trace-event.h" |
28 | 28 |
29 namespace v8 { | 29 namespace v8 { |
30 namespace internal { | 30 namespace internal { |
31 | 31 |
32 char IC::TransitionMarkFromState(IC::State state) { | 32 char IC::TransitionMarkFromState(IC::State state) { |
33 switch (state) { | 33 switch (state) { |
34 case UNINITIALIZED: | 34 case UNINITIALIZED: |
35 return '0'; | 35 return '0'; |
36 case PREMONOMORPHIC: | 36 case PREMONOMORPHIC: |
(...skipping 2898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2935 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, | 2935 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, |
2936 vector->GetKind(vector_slot)); | 2936 vector->GetKind(vector_slot)); |
2937 KeyedLoadICNexus nexus(vector, vector_slot); | 2937 KeyedLoadICNexus nexus(vector, vector_slot); |
2938 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); | 2938 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); |
2939 ic.UpdateState(receiver, key); | 2939 ic.UpdateState(receiver, key); |
2940 RETURN_RESULT_OR_FAILURE(isolate, ic.Load(receiver, key)); | 2940 RETURN_RESULT_OR_FAILURE(isolate, ic.Load(receiver, key)); |
2941 } | 2941 } |
2942 } | 2942 } |
2943 } // namespace internal | 2943 } // namespace internal |
2944 } // namespace v8 | 2944 } // namespace v8 |
OLD | NEW |