| 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 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
| 6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 F(LoadLookupSlotForCall, 1, 2) | 956 F(LoadLookupSlotForCall, 1, 2) |
| 957 | 957 |
| 958 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 958 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
| 959 F(ForInPrepare, 1, 3) | 959 F(ForInPrepare, 1, 3) |
| 960 | 960 |
| 961 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 961 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
| 962 // implemented in ic.cc for now. | 962 // implemented in ic.cc for now. |
| 963 #define FOR_EACH_INTRINSIC_IC(F) \ | 963 #define FOR_EACH_INTRINSIC_IC(F) \ |
| 964 F(BinaryOpIC_Miss, 2, 1) \ | 964 F(BinaryOpIC_Miss, 2, 1) \ |
| 965 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ | 965 F(BinaryOpIC_MissWithAllocationSite, 3, 1) \ |
| 966 F(CallIC_Miss, 3, 1) \ | |
| 967 F(CompareIC_Miss, 3, 1) \ | 966 F(CompareIC_Miss, 3, 1) \ |
| 968 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ | 967 F(ElementsTransitionAndStoreIC_Miss, 6, 1) \ |
| 969 F(KeyedLoadIC_Miss, 4, 1) \ | 968 F(KeyedLoadIC_Miss, 4, 1) \ |
| 970 F(KeyedStoreIC_Miss, 5, 1) \ | 969 F(KeyedStoreIC_Miss, 5, 1) \ |
| 971 F(KeyedStoreIC_Slow, 5, 1) \ | 970 F(KeyedStoreIC_Slow, 5, 1) \ |
| 972 F(LoadElementWithInterceptor, 2, 1) \ | 971 F(LoadElementWithInterceptor, 2, 1) \ |
| 973 F(LoadGlobalIC_Miss, 3, 1) \ | 972 F(LoadGlobalIC_Miss, 3, 1) \ |
| 974 F(LoadGlobalIC_Slow, 1, 1) \ | 973 F(LoadGlobalIC_Slow, 1, 1) \ |
| 975 F(LoadIC_Miss, 4, 1) \ | 974 F(LoadIC_Miss, 4, 1) \ |
| 976 F(LoadPropertyWithInterceptor, 3, 1) \ | 975 F(LoadPropertyWithInterceptor, 3, 1) \ |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1166 kMaybeDeopted = 1 << 3, | 1165 kMaybeDeopted = 1 << 3, |
| 1167 kOptimized = 1 << 4, | 1166 kOptimized = 1 << 4, |
| 1168 kTurboFanned = 1 << 5, | 1167 kTurboFanned = 1 << 5, |
| 1169 kInterpreted = 1 << 6, | 1168 kInterpreted = 1 << 6, |
| 1170 }; | 1169 }; |
| 1171 | 1170 |
| 1172 } // namespace internal | 1171 } // namespace internal |
| 1173 } // namespace v8 | 1172 } // namespace v8 |
| 1174 | 1173 |
| 1175 #endif // V8_RUNTIME_RUNTIME_H_ | 1174 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |