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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 F(DefineAccessorPropertyUnchecked, 5, 1) \ | 480 F(DefineAccessorPropertyUnchecked, 5, 1) \ |
481 F(DefineDataPropertyUnchecked, 4, 1) \ | 481 F(DefineDataPropertyUnchecked, 4, 1) \ |
482 F(GetDataProperty, 2, 1) \ | 482 F(GetDataProperty, 2, 1) \ |
483 F(HasFastPackedElements, 1, 1) \ | 483 F(HasFastPackedElements, 1, 1) \ |
484 F(ValueOf, 1, 1) \ | 484 F(ValueOf, 1, 1) \ |
485 F(SetValueOf, 2, 1) \ | 485 F(SetValueOf, 2, 1) \ |
486 F(JSValueGetValue, 1, 1) \ | 486 F(JSValueGetValue, 1, 1) \ |
487 F(HeapObjectGetMap, 1, 1) \ | 487 F(HeapObjectGetMap, 1, 1) \ |
488 F(MapGetInstanceType, 1, 1) \ | 488 F(MapGetInstanceType, 1, 1) \ |
489 F(ObjectEquals, 2, 1) \ | 489 F(ObjectEquals, 2, 1) \ |
490 F(IsObject, 1, 1) \ | |
491 F(IsSpecObject, 1, 1) \ | 490 F(IsSpecObject, 1, 1) \ |
492 F(IsStrong, 1, 1) \ | 491 F(IsStrong, 1, 1) \ |
493 F(ClassOf, 1, 1) \ | 492 F(ClassOf, 1, 1) \ |
494 F(DefineGetterPropertyUnchecked, 4, 1) \ | 493 F(DefineGetterPropertyUnchecked, 4, 1) \ |
495 F(DefineSetterPropertyUnchecked, 4, 1) \ | 494 F(DefineSetterPropertyUnchecked, 4, 1) \ |
496 F(ToObject, 1, 1) \ | 495 F(ToObject, 1, 1) \ |
497 F(StrictEquals, 2, 1) \ | 496 F(StrictEquals, 2, 1) \ |
498 F(InstanceOf, 2, 1) \ | 497 F(InstanceOf, 2, 1) \ |
499 F(HasInPrototypeChain, 2, 1) | 498 F(HasInPrototypeChain, 2, 1) |
500 | 499 |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1248 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1250 return size == 1 || size == 2 || size == 4; | 1249 return size == 1 || size == 2 || size == 4; |
1251 } | 1250 } |
1252 | 1251 |
1253 #endif | 1252 #endif |
1254 | 1253 |
1255 } // namespace internal | 1254 } // namespace internal |
1256 } // namespace v8 | 1255 } // namespace v8 |
1257 | 1256 |
1258 #endif // V8_RUNTIME_RUNTIME_H_ | 1257 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |