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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 F(ObservationWeakMapCreate, 0, 1) | 120 F(ObservationWeakMapCreate, 0, 1) |
121 | 121 |
122 | 122 |
123 #define FOR_EACH_INTRINSIC_COMPILER(F) \ | 123 #define FOR_EACH_INTRINSIC_COMPILER(F) \ |
124 F(CompileLazy, 1, 1) \ | 124 F(CompileLazy, 1, 1) \ |
125 F(CompileOptimized, 2, 1) \ | 125 F(CompileOptimized, 2, 1) \ |
126 F(NotifyStubFailure, 0, 1) \ | 126 F(NotifyStubFailure, 0, 1) \ |
127 F(NotifyDeoptimized, 1, 1) \ | 127 F(NotifyDeoptimized, 1, 1) \ |
128 F(CompileForOnStackReplacement, 1, 1) \ | 128 F(CompileForOnStackReplacement, 1, 1) \ |
129 F(TryInstallOptimizedCode, 1, 1) \ | 129 F(TryInstallOptimizedCode, 1, 1) \ |
130 F(CompileString, 2, 1) | 130 F(CompileString, 2, 1) \ |
| 131 F(ResolvePossiblyDirectEval, 5, 1) |
131 | 132 |
132 | 133 |
133 #define FOR_EACH_INTRINSIC_DATE(F) \ | 134 #define FOR_EACH_INTRINSIC_DATE(F) \ |
134 F(DateMakeDay, 2, 1) \ | 135 F(DateMakeDay, 2, 1) \ |
135 F(DateSetValue, 3, 1) \ | 136 F(DateSetValue, 3, 1) \ |
136 F(ThrowIfNotADate, 1, 1) \ | 137 F(ThrowIfNotADate, 1, 1) \ |
137 F(ThrowNotDateError, 0, 1) \ | 138 F(ThrowNotDateError, 0, 1) \ |
138 F(DateCurrentTime, 0, 1) \ | 139 F(DateCurrentTime, 0, 1) \ |
139 F(DateParseString, 2, 1) \ | 140 F(DateParseString, 2, 1) \ |
140 F(DateLocalTimezone, 1, 1) \ | 141 F(DateLocalTimezone, 1, 1) \ |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 F(DataViewSetFloat64, 4, 1) | 691 F(DataViewSetFloat64, 4, 1) |
691 | 692 |
692 | 693 |
693 #define FOR_EACH_INTRINSIC_URI(F) \ | 694 #define FOR_EACH_INTRINSIC_URI(F) \ |
694 F(URIEscape, 1, 1) \ | 695 F(URIEscape, 1, 1) \ |
695 F(URIUnescape, 1, 1) | 696 F(URIUnescape, 1, 1) |
696 | 697 |
697 | 698 |
698 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 699 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
699 F(LoadLookupSlot, 2, 2) \ | 700 F(LoadLookupSlot, 2, 2) \ |
700 F(LoadLookupSlotNoReferenceError, 2, 2) \ | 701 F(LoadLookupSlotNoReferenceError, 2, 2) |
701 F(ResolvePossiblyDirectEval, 6, 2) | |
702 | 702 |
703 | 703 |
704 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 704 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
705 FOR_EACH_INTRINSIC_ARRAY(F) \ | 705 FOR_EACH_INTRINSIC_ARRAY(F) \ |
706 FOR_EACH_INTRINSIC_ATOMICS(F) \ | 706 FOR_EACH_INTRINSIC_ATOMICS(F) \ |
707 FOR_EACH_INTRINSIC_CLASSES(F) \ | 707 FOR_EACH_INTRINSIC_CLASSES(F) \ |
708 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 708 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
709 FOR_EACH_INTRINSIC_COMPILER(F) \ | 709 FOR_EACH_INTRINSIC_COMPILER(F) \ |
710 FOR_EACH_INTRINSIC_DATE(F) \ | 710 FOR_EACH_INTRINSIC_DATE(F) \ |
711 FOR_EACH_INTRINSIC_DEBUG(F) \ | 711 FOR_EACH_INTRINSIC_DEBUG(F) \ |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 931 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
932 return size == 1 || size == 2 || size == 4; | 932 return size == 1 || size == 2 || size == 4; |
933 } | 933 } |
934 | 934 |
935 #endif | 935 #endif |
936 | 936 |
937 } // namespace internal | 937 } // namespace internal |
938 } // namespace v8 | 938 } // namespace v8 |
939 | 939 |
940 #endif // V8_RUNTIME_RUNTIME_H_ | 940 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |