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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "accessors.h" | 7 #include "src/accessors.h" |
8 #include "api.h" | 8 #include "src/api.h" |
9 #include "arguments.h" | 9 #include "src/arguments.h" |
10 #include "codegen.h" | 10 #include "src/codegen.h" |
11 #include "conversions.h" | 11 #include "src/conversions.h" |
12 #include "execution.h" | 12 #include "src/execution.h" |
13 #include "ic-inl.h" | 13 #include "src/ic-inl.h" |
14 #include "runtime.h" | 14 #include "src/runtime.h" |
15 #include "stub-cache.h" | 15 #include "src/stub-cache.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 #ifdef DEBUG | 20 #ifdef DEBUG |
21 char IC::TransitionMarkFromState(IC::State state) { | 21 char IC::TransitionMarkFromState(IC::State state) { |
22 switch (state) { | 22 switch (state) { |
23 case UNINITIALIZED: return '0'; | 23 case UNINITIALIZED: return '0'; |
24 case PREMONOMORPHIC: return '.'; | 24 case PREMONOMORPHIC: return '.'; |
25 case MONOMORPHIC: return '1'; | 25 case MONOMORPHIC: return '1'; |
(...skipping 3024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3050 #undef ADDR | 3050 #undef ADDR |
3051 }; | 3051 }; |
3052 | 3052 |
3053 | 3053 |
3054 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 3054 Address IC::AddressFromUtilityId(IC::UtilityId id) { |
3055 return IC_utilities[id]; | 3055 return IC_utilities[id]; |
3056 } | 3056 } |
3057 | 3057 |
3058 | 3058 |
3059 } } // namespace v8::internal | 3059 } } // namespace v8::internal |
OLD | NEW |