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/zone.h" | 10 #include "src/zone.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 F(StoreGlobalViaContext_Strict, 2, 1) \ | 447 F(StoreGlobalViaContext_Strict, 2, 1) \ |
448 F(AddNamedProperty, 4, 1) \ | 448 F(AddNamedProperty, 4, 1) \ |
449 F(SetProperty, 4, 1) \ | 449 F(SetProperty, 4, 1) \ |
450 F(AddElement, 3, 1) \ | 450 F(AddElement, 3, 1) \ |
451 F(AppendElement, 2, 1) \ | 451 F(AppendElement, 2, 1) \ |
452 F(DeleteProperty, 3, 1) \ | 452 F(DeleteProperty, 3, 1) \ |
453 F(HasOwnProperty, 2, 1) \ | 453 F(HasOwnProperty, 2, 1) \ |
454 F(HasProperty, 2, 1) \ | 454 F(HasProperty, 2, 1) \ |
455 F(HasElement, 2, 1) \ | 455 F(HasElement, 2, 1) \ |
456 F(IsPropertyEnumerable, 2, 1) \ | 456 F(IsPropertyEnumerable, 2, 1) \ |
457 F(GetPropertyNames, 1, 1) \ | |
458 F(GetPropertyNamesFast, 1, 1) \ | 457 F(GetPropertyNamesFast, 1, 1) \ |
459 F(GetOwnPropertyNames, 2, 1) \ | 458 F(GetOwnPropertyNames, 2, 1) \ |
460 F(GetOwnElementNames, 1, 1) \ | 459 F(GetOwnElementNames, 1, 1) \ |
461 F(GetInterceptorInfo, 1, 1) \ | 460 F(GetInterceptorInfo, 1, 1) \ |
462 F(GetNamedInterceptorPropertyNames, 1, 1) \ | 461 F(GetNamedInterceptorPropertyNames, 1, 1) \ |
463 F(GetIndexedInterceptorElementNames, 1, 1) \ | 462 F(GetIndexedInterceptorElementNames, 1, 1) \ |
464 F(OwnKeys, 1, 1) \ | 463 F(OwnKeys, 1, 1) \ |
465 F(ToFastProperties, 1, 1) \ | 464 F(ToFastProperties, 1, 1) \ |
466 F(NewStringWrapper, 1, 1) \ | 465 F(NewStringWrapper, 1, 1) \ |
467 F(AllocateHeapNumber, 0, 1) \ | 466 F(AllocateHeapNumber, 0, 1) \ |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1133 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1135 return size == 1 || size == 2 || size == 4; | 1134 return size == 1 || size == 2 || size == 4; |
1136 } | 1135 } |
1137 | 1136 |
1138 #endif | 1137 #endif |
1139 | 1138 |
1140 } // namespace internal | 1139 } // namespace internal |
1141 } // namespace v8 | 1140 } // namespace v8 |
1142 | 1141 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1142 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |