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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 F(JSValueGetValue, 1, 1) \ | 476 F(JSValueGetValue, 1, 1) \ |
477 F(HeapObjectGetMap, 1, 1) \ | 477 F(HeapObjectGetMap, 1, 1) \ |
478 F(MapGetInstanceType, 1, 1) \ | 478 F(MapGetInstanceType, 1, 1) \ |
479 F(ObjectEquals, 2, 1) \ | 479 F(ObjectEquals, 2, 1) \ |
480 F(IsObject, 1, 1) \ | 480 F(IsObject, 1, 1) \ |
481 F(IsUndetectableObject, 1, 1) \ | 481 F(IsUndetectableObject, 1, 1) \ |
482 F(IsSpecObject, 1, 1) \ | 482 F(IsSpecObject, 1, 1) \ |
483 F(IsStrong, 1, 1) \ | 483 F(IsStrong, 1, 1) \ |
484 F(ClassOf, 1, 1) \ | 484 F(ClassOf, 1, 1) \ |
485 F(DefineGetterPropertyUnchecked, 4, 1) \ | 485 F(DefineGetterPropertyUnchecked, 4, 1) \ |
486 F(DefineSetterPropertyUnchecked, 4, 1) | 486 F(DefineSetterPropertyUnchecked, 4, 1) \ |
| 487 F(IsAccessCheckNeeded, 1, 1) |
487 | 488 |
488 | 489 |
489 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ | 490 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ |
490 F(IsObserved, 1, 1) \ | 491 F(IsObserved, 1, 1) \ |
491 F(SetIsObserved, 1, 1) \ | 492 F(SetIsObserved, 1, 1) \ |
492 F(EnqueueMicrotask, 1, 1) \ | 493 F(EnqueueMicrotask, 1, 1) \ |
493 F(RunMicrotasks, 0, 1) \ | 494 F(RunMicrotasks, 0, 1) \ |
494 F(DeliverObservationChangeRecords, 2, 1) \ | 495 F(DeliverObservationChangeRecords, 2, 1) \ |
495 F(GetObservationState, 0, 1) \ | 496 F(GetObservationState, 0, 1) \ |
496 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ | 497 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 942 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
942 return size == 1 || size == 2 || size == 4; | 943 return size == 1 || size == 2 || size == 4; |
943 } | 944 } |
944 | 945 |
945 #endif | 946 #endif |
946 | 947 |
947 } // namespace internal | 948 } // namespace internal |
948 } // namespace v8 | 949 } // namespace v8 |
949 | 950 |
950 #endif // V8_RUNTIME_RUNTIME_H_ | 951 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |