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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api.h" | 8 #include "src/api.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
11 #include "src/codegen.h" | 11 #include "src/codegen.h" |
12 #include "src/conversions.h" | 12 #include "src/conversions.h" |
13 #include "src/execution.h" | 13 #include "src/execution.h" |
14 #include "src/ic/call-optimization.h" | 14 #include "src/ic/call-optimization.h" |
15 #include "src/ic/handler-compiler.h" | 15 #include "src/ic/handler-compiler.h" |
16 #include "src/ic/ic-inl.h" | 16 #include "src/ic/ic-inl.h" |
17 #include "src/ic/ic-compiler.h" | 17 #include "src/ic/ic-compiler.h" |
18 #include "src/ic/stub-cache.h" | 18 #include "src/ic/stub-cache.h" |
19 #include "src/prototype.h" | 19 #include "src/prototype.h" |
20 #include "src/runtime.h" | 20 #include "src/runtime/runtime.h" |
21 | 21 |
22 namespace v8 { | 22 namespace v8 { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 char IC::TransitionMarkFromState(IC::State state) { | 25 char IC::TransitionMarkFromState(IC::State state) { |
26 switch (state) { | 26 switch (state) { |
27 case UNINITIALIZED: | 27 case UNINITIALIZED: |
28 return '0'; | 28 return '0'; |
29 case PREMONOMORPHIC: | 29 case PREMONOMORPHIC: |
30 return '.'; | 30 return '.'; |
(...skipping 2649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2680 static const Address IC_utilities[] = { | 2680 static const Address IC_utilities[] = { |
2681 #define ADDR(name) FUNCTION_ADDR(name), | 2681 #define ADDR(name) FUNCTION_ADDR(name), |
2682 IC_UTIL_LIST(ADDR) NULL | 2682 IC_UTIL_LIST(ADDR) NULL |
2683 #undef ADDR | 2683 #undef ADDR |
2684 }; | 2684 }; |
2685 | 2685 |
2686 | 2686 |
2687 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } | 2687 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } |
2688 } | 2688 } |
2689 } // namespace v8::internal | 2689 } // namespace v8::internal |
OLD | NEW |