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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 F(IsPropertyEnumerable, 2, 1) \ | 456 F(IsPropertyEnumerable, 2, 1) \ |
457 F(GetPropertyNames, 1, 1) \ | 457 F(GetPropertyNames, 1, 1) \ |
458 F(GetPropertyNamesFast, 1, 1) \ | 458 F(GetPropertyNamesFast, 1, 1) \ |
459 F(GetOwnPropertyNames, 2, 1) \ | 459 F(GetOwnPropertyNames, 2, 1) \ |
460 F(GetOwnElementNames, 1, 1) \ | 460 F(GetOwnElementNames, 1, 1) \ |
461 F(GetInterceptorInfo, 1, 1) \ | 461 F(GetInterceptorInfo, 1, 1) \ |
462 F(GetNamedInterceptorPropertyNames, 1, 1) \ | 462 F(GetNamedInterceptorPropertyNames, 1, 1) \ |
463 F(GetIndexedInterceptorElementNames, 1, 1) \ | 463 F(GetIndexedInterceptorElementNames, 1, 1) \ |
464 F(OwnKeys, 1, 1) \ | 464 F(OwnKeys, 1, 1) \ |
465 F(ToFastProperties, 1, 1) \ | 465 F(ToFastProperties, 1, 1) \ |
466 F(ToBool, 1, 1) \ | |
467 F(NewStringWrapper, 1, 1) \ | 466 F(NewStringWrapper, 1, 1) \ |
468 F(AllocateHeapNumber, 0, 1) \ | 467 F(AllocateHeapNumber, 0, 1) \ |
469 F(NewObject, 2, 1) \ | 468 F(NewObject, 2, 1) \ |
470 F(NewObjectWithAllocationSite, 3, 1) \ | 469 F(NewObjectWithAllocationSite, 3, 1) \ |
471 F(FinalizeInstanceSize, 1, 1) \ | 470 F(FinalizeInstanceSize, 1, 1) \ |
472 F(GlobalProxy, 1, 1) \ | 471 F(GlobalProxy, 1, 1) \ |
473 F(LookupAccessor, 3, 1) \ | 472 F(LookupAccessor, 3, 1) \ |
474 F(LoadMutableDouble, 2, 1) \ | 473 F(LoadMutableDouble, 2, 1) \ |
475 F(TryMigrateInstance, 1, 1) \ | 474 F(TryMigrateInstance, 1, 1) \ |
476 F(IsJSGlobalProxy, 1, 1) \ | 475 F(IsJSGlobalProxy, 1, 1) \ |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1134 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1136 return size == 1 || size == 2 || size == 4; | 1135 return size == 1 || size == 2 || size == 4; |
1137 } | 1136 } |
1138 | 1137 |
1139 #endif | 1138 #endif |
1140 | 1139 |
1141 } // namespace internal | 1140 } // namespace internal |
1142 } // namespace v8 | 1141 } // namespace v8 |
1143 | 1142 |
1144 #endif // V8_RUNTIME_RUNTIME_H_ | 1143 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |