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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 F(LoadLookupSlot, 2, 2) \ | 1016 F(LoadLookupSlot, 2, 2) \ |
1017 F(LoadLookupSlotNoReferenceError, 2, 2) | 1017 F(LoadLookupSlotNoReferenceError, 2, 2) |
1018 | 1018 |
1019 | 1019 |
1020 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 1020 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
1021 // implemented in ic.cc for now. | 1021 // implemented in ic.cc for now. |
1022 #define FOR_EACH_INTRINSIC_IC(F) \ | 1022 #define FOR_EACH_INTRINSIC_IC(F) \ |
1023 F(LoadIC_Miss, 3, 1) \ | 1023 F(LoadIC_Miss, 3, 1) \ |
1024 F(KeyedLoadIC_Miss, 3, 1) \ | 1024 F(KeyedLoadIC_Miss, 3, 1) \ |
1025 F(CallIC_Miss, 3, 1) \ | 1025 F(CallIC_Miss, 3, 1) \ |
1026 F(CallIC_Customization_Miss, 3, 1) \ | |
1027 F(StoreIC_Miss, 3, 1) \ | 1026 F(StoreIC_Miss, 3, 1) \ |
1028 F(StoreIC_Slow, 3, 1) \ | 1027 F(StoreIC_Slow, 3, 1) \ |
1029 F(KeyedStoreIC_Miss, 3, 1) \ | 1028 F(KeyedStoreIC_Miss, 3, 1) \ |
1030 F(KeyedStoreIC_Slow, 3, 1) \ | 1029 F(KeyedStoreIC_Slow, 3, 1) \ |
1031 F(StoreCallbackProperty, 5, 1) \ | 1030 F(StoreCallbackProperty, 5, 1) \ |
1032 F(LoadPropertyWithInterceptorOnly, 3, 1) \ | 1031 F(LoadPropertyWithInterceptorOnly, 3, 1) \ |
1033 F(LoadPropertyWithInterceptor, 3, 1) \ | 1032 F(LoadPropertyWithInterceptor, 3, 1) \ |
1034 F(LoadElementWithInterceptor, 2, 1) \ | 1033 F(LoadElementWithInterceptor, 2, 1) \ |
1035 F(StorePropertyWithInterceptor, 3, 1) \ | 1034 F(StorePropertyWithInterceptor, 3, 1) \ |
1036 F(CompareIC_Miss, 3, 1) \ | 1035 F(CompareIC_Miss, 3, 1) \ |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1245 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1247 return size == 1 || size == 2 || size == 4; | 1246 return size == 1 || size == 2 || size == 4; |
1248 } | 1247 } |
1249 | 1248 |
1250 #endif | 1249 #endif |
1251 | 1250 |
1252 } // namespace internal | 1251 } // namespace internal |
1253 } // namespace v8 | 1252 } // namespace v8 |
1254 | 1253 |
1255 #endif // V8_RUNTIME_RUNTIME_H_ | 1254 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |