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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 F(JSValueGetValue, 1, 1) \ | 484 F(JSValueGetValue, 1, 1) \ |
485 F(HeapObjectGetMap, 1, 1) \ | 485 F(HeapObjectGetMap, 1, 1) \ |
486 F(MapGetInstanceType, 1, 1) \ | 486 F(MapGetInstanceType, 1, 1) \ |
487 F(ObjectEquals, 2, 1) \ | 487 F(ObjectEquals, 2, 1) \ |
488 F(IsSpecObject, 1, 1) \ | 488 F(IsSpecObject, 1, 1) \ |
489 F(IsStrong, 1, 1) \ | 489 F(IsStrong, 1, 1) \ |
490 F(ClassOf, 1, 1) \ | 490 F(ClassOf, 1, 1) \ |
491 F(DefineGetterPropertyUnchecked, 4, 1) \ | 491 F(DefineGetterPropertyUnchecked, 4, 1) \ |
492 F(DefineSetterPropertyUnchecked, 4, 1) \ | 492 F(DefineSetterPropertyUnchecked, 4, 1) \ |
493 F(ToObject, 1, 1) \ | 493 F(ToObject, 1, 1) \ |
| 494 F(ToPrimitive, 1, 1) \ |
| 495 F(ToPrimitive_Number, 1, 1) \ |
| 496 F(ToPrimitive_String, 1, 1) \ |
| 497 F(OrdinaryToPrimitive, 2, 1) \ |
| 498 F(ToNumber, 1, 1) \ |
494 F(StrictEquals, 2, 1) \ | 499 F(StrictEquals, 2, 1) \ |
495 F(InstanceOf, 2, 1) \ | 500 F(InstanceOf, 2, 1) \ |
496 F(HasInPrototypeChain, 2, 1) | 501 F(HasInPrototypeChain, 2, 1) |
497 | 502 |
498 | 503 |
499 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ | 504 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ |
500 F(IsObserved, 1, 1) \ | 505 F(IsObserved, 1, 1) \ |
501 F(SetIsObserved, 1, 1) \ | 506 F(SetIsObserved, 1, 1) \ |
502 F(EnqueueMicrotask, 1, 1) \ | 507 F(EnqueueMicrotask, 1, 1) \ |
503 F(RunMicrotasks, 0, 1) \ | 508 F(RunMicrotasks, 0, 1) \ |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1250 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1246 return size == 1 || size == 2 || size == 4; | 1251 return size == 1 || size == 2 || size == 4; |
1247 } | 1252 } |
1248 | 1253 |
1249 #endif | 1254 #endif |
1250 | 1255 |
1251 } // namespace internal | 1256 } // namespace internal |
1252 } // namespace v8 | 1257 } // namespace v8 |
1253 | 1258 |
1254 #endif // V8_RUNTIME_RUNTIME_H_ | 1259 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |