| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 | 423 |
| 424 | 424 |
| 425 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 425 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
| 426 F(GetPrototype, 1, 1) \ | 426 F(GetPrototype, 1, 1) \ |
| 427 F(InternalSetPrototype, 2, 1) \ | 427 F(InternalSetPrototype, 2, 1) \ |
| 428 F(SetPrototype, 2, 1) \ | 428 F(SetPrototype, 2, 1) \ |
| 429 F(IsInPrototypeChain, 2, 1) \ | 429 F(IsInPrototypeChain, 2, 1) \ |
| 430 F(GetOwnProperty, 2, 1) \ | 430 F(GetOwnProperty, 2, 1) \ |
| 431 F(PreventExtensions, 1, 1) \ | 431 F(PreventExtensions, 1, 1) \ |
| 432 F(IsExtensible, 1, 1) \ | 432 F(IsExtensible, 1, 1) \ |
| 433 F(DisableAccessChecks, 1, 1) \ | |
| 434 F(EnableAccessChecks, 1, 1) \ | |
| 435 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 433 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
| 436 F(ObjectFreeze, 1, 1) \ | 434 F(ObjectFreeze, 1, 1) \ |
| 437 F(ObjectSeal, 1, 1) \ | 435 F(ObjectSeal, 1, 1) \ |
| 438 F(GetProperty, 2, 1) \ | 436 F(GetProperty, 2, 1) \ |
| 439 F(GetPropertyStrong, 2, 1) \ | 437 F(GetPropertyStrong, 2, 1) \ |
| 440 F(KeyedGetProperty, 2, 1) \ | 438 F(KeyedGetProperty, 2, 1) \ |
| 441 F(KeyedGetPropertyStrong, 2, 1) \ | 439 F(KeyedGetPropertyStrong, 2, 1) \ |
| 442 F(AddNamedProperty, 4, 1) \ | 440 F(AddNamedProperty, 4, 1) \ |
| 443 F(SetProperty, 4, 1) \ | 441 F(SetProperty, 4, 1) \ |
| 444 F(AddElement, 3, 1) \ | 442 F(AddElement, 3, 1) \ |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 936 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 939 return size == 1 || size == 2 || size == 4; | 937 return size == 1 || size == 2 || size == 4; |
| 940 } | 938 } |
| 941 | 939 |
| 942 #endif | 940 #endif |
| 943 | 941 |
| 944 } // namespace internal | 942 } // namespace internal |
| 945 } // namespace v8 | 943 } // namespace v8 |
| 946 | 944 |
| 947 #endif // V8_RUNTIME_RUNTIME_H_ | 945 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |