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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 F(GetOwnProperty, 2, 1) \ | 440 F(GetOwnProperty, 2, 1) \ |
441 F(PreventExtensions, 1, 1) \ | 441 F(PreventExtensions, 1, 1) \ |
442 F(IsExtensible, 1, 1) \ | 442 F(IsExtensible, 1, 1) \ |
443 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 443 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
444 F(ObjectFreeze, 1, 1) \ | 444 F(ObjectFreeze, 1, 1) \ |
445 F(ObjectSeal, 1, 1) \ | 445 F(ObjectSeal, 1, 1) \ |
446 F(GetProperty, 2, 1) \ | 446 F(GetProperty, 2, 1) \ |
447 F(GetPropertyStrong, 2, 1) \ | 447 F(GetPropertyStrong, 2, 1) \ |
448 F(KeyedGetProperty, 2, 1) \ | 448 F(KeyedGetProperty, 2, 1) \ |
449 F(KeyedGetPropertyStrong, 2, 1) \ | 449 F(KeyedGetPropertyStrong, 2, 1) \ |
450 F(LoadGlobalViaContext, 3, 1) \ | 450 F(LoadGlobalViaContext, 2, 1) \ |
451 F(StoreGlobalViaContext, 5, 1) \ | 451 F(StoreGlobalViaContext_Sloppy, 3, 1) \ |
| 452 F(StoreGlobalViaContext_Strict, 3, 1) \ |
452 F(AddNamedProperty, 4, 1) \ | 453 F(AddNamedProperty, 4, 1) \ |
453 F(SetProperty, 4, 1) \ | 454 F(SetProperty, 4, 1) \ |
454 F(AddElement, 3, 1) \ | 455 F(AddElement, 3, 1) \ |
455 F(AppendElement, 2, 1) \ | 456 F(AppendElement, 2, 1) \ |
456 F(DeleteProperty, 3, 1) \ | 457 F(DeleteProperty, 3, 1) \ |
457 F(HasOwnProperty, 2, 1) \ | 458 F(HasOwnProperty, 2, 1) \ |
458 F(HasProperty, 2, 1) \ | 459 F(HasProperty, 2, 1) \ |
459 F(HasElement, 2, 1) \ | 460 F(HasElement, 2, 1) \ |
460 F(IsPropertyEnumerable, 2, 1) \ | 461 F(IsPropertyEnumerable, 2, 1) \ |
461 F(GetPropertyNames, 1, 1) \ | 462 F(GetPropertyNames, 1, 1) \ |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 992 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
992 return size == 1 || size == 2 || size == 4; | 993 return size == 1 || size == 2 || size == 4; |
993 } | 994 } |
994 | 995 |
995 #endif | 996 #endif |
996 | 997 |
997 } // namespace internal | 998 } // namespace internal |
998 } // namespace v8 | 999 } // namespace v8 |
999 | 1000 |
1000 #endif // V8_RUNTIME_RUNTIME_H_ | 1001 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |