| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 #define FOR_EACH_INTRINSIC_CLASSES(F) \ | 77 #define FOR_EACH_INTRINSIC_CLASSES(F) \ |
| 78 F(ThrowNonMethodError, 0, 1) \ | 78 F(ThrowNonMethodError, 0, 1) \ |
| 79 F(ThrowUnsupportedSuperError, 0, 1) \ | 79 F(ThrowUnsupportedSuperError, 0, 1) \ |
| 80 F(ThrowConstructorNonCallableError, 0, 1) \ | 80 F(ThrowConstructorNonCallableError, 0, 1) \ |
| 81 F(ThrowArrayNotSubclassableError, 0, 1) \ | 81 F(ThrowArrayNotSubclassableError, 0, 1) \ |
| 82 F(ThrowStaticPrototypeError, 0, 1) \ | 82 F(ThrowStaticPrototypeError, 0, 1) \ |
| 83 F(ThrowIfStaticPrototype, 1, 1) \ | 83 F(ThrowIfStaticPrototype, 1, 1) \ |
| 84 F(ToMethod, 2, 1) \ | 84 F(ToMethod, 2, 1) \ |
| 85 F(HomeObjectSymbol, 0, 1) \ | 85 F(HomeObjectSymbol, 0, 1) \ |
| 86 F(DefineClass, 5, 1) \ | 86 F(DefineClass, 5, 1) \ |
| 87 F(DefineClassStrong, 5, 1) \ | |
| 88 F(FinalizeClassDefinition, 2, 1) \ | 87 F(FinalizeClassDefinition, 2, 1) \ |
| 89 F(DefineClassMethod, 3, 1) \ | 88 F(DefineClassMethod, 3, 1) \ |
| 90 F(ClassGetSourceCode, 1, 1) \ | 89 F(ClassGetSourceCode, 1, 1) \ |
| 91 F(LoadFromSuper, 4, 1) \ | 90 F(LoadFromSuper, 4, 1) \ |
| 92 F(LoadKeyedFromSuper, 4, 1) \ | 91 F(LoadKeyedFromSuper, 4, 1) \ |
| 93 F(StoreToSuper_Strict, 4, 1) \ | 92 F(StoreToSuper_Strict, 4, 1) \ |
| 94 F(StoreToSuper_Sloppy, 4, 1) \ | 93 F(StoreToSuper_Sloppy, 4, 1) \ |
| 95 F(StoreKeyedToSuper_Strict, 4, 1) \ | 94 F(StoreKeyedToSuper_Strict, 4, 1) \ |
| 96 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 95 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
| 97 F(HandleStepInForDerivedConstructors, 1, 1) \ | 96 F(HandleStepInForDerivedConstructors, 1, 1) \ |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1251 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 1253 return size == 1 || size == 2 || size == 4; | 1252 return size == 1 || size == 2 || size == 4; |
| 1254 } | 1253 } |
| 1255 | 1254 |
| 1256 #endif | 1255 #endif |
| 1257 | 1256 |
| 1258 } // namespace internal | 1257 } // namespace internal |
| 1259 } // namespace v8 | 1258 } // namespace v8 |
| 1260 | 1259 |
| 1261 #endif // V8_RUNTIME_RUNTIME_H_ | 1260 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |