| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 F(IsExtensible, 1, 1) \ | 427 F(IsExtensible, 1, 1) \ |
| 428 F(DisableAccessChecks, 1, 1) \ | 428 F(DisableAccessChecks, 1, 1) \ |
| 429 F(EnableAccessChecks, 1, 1) \ | 429 F(EnableAccessChecks, 1, 1) \ |
| 430 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 430 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
| 431 F(ObjectFreeze, 1, 1) \ | 431 F(ObjectFreeze, 1, 1) \ |
| 432 F(ObjectSeal, 1, 1) \ | 432 F(ObjectSeal, 1, 1) \ |
| 433 F(GetProperty, 2, 1) \ | 433 F(GetProperty, 2, 1) \ |
| 434 F(KeyedGetProperty, 2, 1) \ | 434 F(KeyedGetProperty, 2, 1) \ |
| 435 F(AddNamedProperty, 4, 1) \ | 435 F(AddNamedProperty, 4, 1) \ |
| 436 F(SetProperty, 4, 1) \ | 436 F(SetProperty, 4, 1) \ |
| 437 F(AddElement, 4, 1) \ | 437 F(AddElement, 3, 1) \ |
| 438 F(AppendElement, 2, 1) \ | 438 F(AppendElement, 2, 1) \ |
| 439 F(DeleteProperty, 3, 1) \ | 439 F(DeleteProperty, 3, 1) \ |
| 440 F(HasOwnProperty, 2, 1) \ | 440 F(HasOwnProperty, 2, 1) \ |
| 441 F(HasProperty, 2, 1) \ | 441 F(HasProperty, 2, 1) \ |
| 442 F(HasElement, 2, 1) \ | 442 F(HasElement, 2, 1) \ |
| 443 F(IsPropertyEnumerable, 2, 1) \ | 443 F(IsPropertyEnumerable, 2, 1) \ |
| 444 F(GetPropertyNames, 1, 1) \ | 444 F(GetPropertyNames, 1, 1) \ |
| 445 F(GetPropertyNamesFast, 1, 1) \ | 445 F(GetPropertyNamesFast, 1, 1) \ |
| 446 F(GetOwnPropertyNames, 2, 1) \ | 446 F(GetOwnPropertyNames, 2, 1) \ |
| 447 F(GetOwnElementNames, 1, 1) \ | 447 F(GetOwnElementNames, 1, 1) \ |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 930 return size == 1 || size == 2 || size == 4; | 930 return size == 1 || size == 2 || size == 4; |
| 931 } | 931 } |
| 932 | 932 |
| 933 #endif | 933 #endif |
| 934 | 934 |
| 935 } // namespace internal | 935 } // namespace internal |
| 936 } // namespace v8 | 936 } // namespace v8 |
| 937 | 937 |
| 938 #endif // V8_RUNTIME_RUNTIME_H_ | 938 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |