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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 F(GetOwnProperty, 2, 1) \ | 432 F(GetOwnProperty, 2, 1) \ |
433 F(PreventExtensions, 1, 1) \ | 433 F(PreventExtensions, 1, 1) \ |
434 F(IsExtensible, 1, 1) \ | 434 F(IsExtensible, 1, 1) \ |
435 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 435 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
436 F(ObjectFreeze, 1, 1) \ | 436 F(ObjectFreeze, 1, 1) \ |
437 F(ObjectSeal, 1, 1) \ | 437 F(ObjectSeal, 1, 1) \ |
438 F(GetProperty, 2, 1) \ | 438 F(GetProperty, 2, 1) \ |
439 F(GetPropertyStrong, 2, 1) \ | 439 F(GetPropertyStrong, 2, 1) \ |
440 F(KeyedGetProperty, 2, 1) \ | 440 F(KeyedGetProperty, 2, 1) \ |
441 F(KeyedGetPropertyStrong, 2, 1) \ | 441 F(KeyedGetPropertyStrong, 2, 1) \ |
442 F(LoadGlobalViaContext, 3, 1) \ | 442 F(LoadGlobalViaContext, 2, 1) \ |
443 F(StoreGlobalViaContext, 5, 1) \ | 443 F(StoreGlobalViaContext_Sloppy, 3, 1) \ |
| 444 F(StoreGlobalViaContext_Strict, 3, 1) \ |
444 F(AddNamedProperty, 4, 1) \ | 445 F(AddNamedProperty, 4, 1) \ |
445 F(SetProperty, 4, 1) \ | 446 F(SetProperty, 4, 1) \ |
446 F(AddElement, 3, 1) \ | 447 F(AddElement, 3, 1) \ |
447 F(AppendElement, 2, 1) \ | 448 F(AppendElement, 2, 1) \ |
448 F(DeleteProperty, 3, 1) \ | 449 F(DeleteProperty, 3, 1) \ |
449 F(HasOwnProperty, 2, 1) \ | 450 F(HasOwnProperty, 2, 1) \ |
450 F(HasProperty, 2, 1) \ | 451 F(HasProperty, 2, 1) \ |
451 F(HasElement, 2, 1) \ | 452 F(HasElement, 2, 1) \ |
452 F(IsPropertyEnumerable, 2, 1) \ | 453 F(IsPropertyEnumerable, 2, 1) \ |
453 F(GetPropertyNames, 1, 1) \ | 454 F(GetPropertyNames, 1, 1) \ |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 947 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
947 return size == 1 || size == 2 || size == 4; | 948 return size == 1 || size == 2 || size == 4; |
948 } | 949 } |
949 | 950 |
950 #endif | 951 #endif |
951 | 952 |
952 } // namespace internal | 953 } // namespace internal |
953 } // namespace v8 | 954 } // namespace v8 |
954 | 955 |
955 #endif // V8_RUNTIME_RUNTIME_H_ | 956 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |