| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 F(DefineClassStrong, 6, 1) \ | 79 F(DefineClassStrong, 6, 1) \ |
| 80 F(DefineClassMethod, 3, 1) \ | 80 F(DefineClassMethod, 3, 1) \ |
| 81 F(ClassGetSourceCode, 1, 1) \ | 81 F(ClassGetSourceCode, 1, 1) \ |
| 82 F(LoadFromSuper, 4, 1) \ | 82 F(LoadFromSuper, 4, 1) \ |
| 83 F(LoadKeyedFromSuper, 4, 1) \ | 83 F(LoadKeyedFromSuper, 4, 1) \ |
| 84 F(StoreToSuper_Strict, 4, 1) \ | 84 F(StoreToSuper_Strict, 4, 1) \ |
| 85 F(StoreToSuper_Sloppy, 4, 1) \ | 85 F(StoreToSuper_Sloppy, 4, 1) \ |
| 86 F(StoreKeyedToSuper_Strict, 4, 1) \ | 86 F(StoreKeyedToSuper_Strict, 4, 1) \ |
| 87 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 87 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
| 88 F(HandleStepInForDerivedConstructors, 1, 1) \ | 88 F(HandleStepInForDerivedConstructors, 1, 1) \ |
| 89 F(DefaultConstructorCallSuper, 2, 1) \ | 89 F(DefaultConstructorCallSuper, 2, 1) |
| 90 F(CallSuperWithSpread, 1, 1) | |
| 91 | 90 |
| 92 | 91 |
| 93 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 92 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
| 94 F(StringGetRawHashField, 1, 1) \ | 93 F(StringGetRawHashField, 1, 1) \ |
| 95 F(TheHole, 0, 1) \ | 94 F(TheHole, 0, 1) \ |
| 96 F(JSCollectionGetTable, 1, 1) \ | 95 F(JSCollectionGetTable, 1, 1) \ |
| 97 F(GenericHash, 1, 1) \ | 96 F(GenericHash, 1, 1) \ |
| 98 F(SetInitialize, 1, 1) \ | 97 F(SetInitialize, 1, 1) \ |
| 99 F(SetGrow, 1, 1) \ | 98 F(SetGrow, 1, 1) \ |
| 100 F(SetShrink, 1, 1) \ | 99 F(SetShrink, 1, 1) \ |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 946 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 948 return size == 1 || size == 2 || size == 4; | 947 return size == 1 || size == 2 || size == 4; |
| 949 } | 948 } |
| 950 | 949 |
| 951 #endif | 950 #endif |
| 952 | 951 |
| 953 } // namespace internal | 952 } // namespace internal |
| 954 } // namespace v8 | 953 } // namespace v8 |
| 955 | 954 |
| 956 #endif // V8_RUNTIME_RUNTIME_H_ | 955 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |