• Home
  • Raw
  • Download

Lines Matching full:runtime

5 #include "src/runtime/runtime.h"
14 #include "src/runtime/runtime-utils.h"
19 // Header of runtime functions.
34 Runtime::k##name, Runtime::RUNTIME, #name, FUNCTION_ADDR(Runtime_##name), \
42 Runtime::kInline##name, Runtime::INLINE, "_" #name, \
47 static const Runtime::Function kIntrinsicFunctions[] = {
86 const Runtime::Function* function = &kIntrinsicFunctions[i]; in InitializeIntrinsicFunctionNames()
92 entry->value = const_cast<Runtime::Function*>(function); in InitializeIntrinsicFunctionNames()
99 bool Runtime::NeedsExactContext(FunctionId id) { in NeedsExactContext()
101 case Runtime::kInlineAsyncFunctionReject: in NeedsExactContext()
102 case Runtime::kInlineAsyncFunctionResolve: in NeedsExactContext()
108 case Runtime::kAddPrivateField: in NeedsExactContext()
109 case Runtime::kAddPrivateBrand: in NeedsExactContext()
110 case Runtime::kCreatePrivateAccessors: in NeedsExactContext()
111 case Runtime::kCopyDataProperties: in NeedsExactContext()
112 case Runtime::kCreateDataProperty: in NeedsExactContext()
113 case Runtime::kCreatePrivateNameSymbol: in NeedsExactContext()
114 case Runtime::kCreatePrivateBrandSymbol: in NeedsExactContext()
115 case Runtime::kLoadPrivateGetter: in NeedsExactContext()
116 case Runtime::kLoadPrivateSetter: in NeedsExactContext()
117 case Runtime::kReThrow: in NeedsExactContext()
118 case Runtime::kThrow: in NeedsExactContext()
119 case Runtime::kThrowApplyNonFunction: in NeedsExactContext()
120 case Runtime::kThrowCalledNonCallable: in NeedsExactContext()
121 case Runtime::kThrowConstAssignError: in NeedsExactContext()
122 case Runtime::kThrowConstructorNonCallableError: in NeedsExactContext()
123 case Runtime::kThrowConstructedNonConstructable: in NeedsExactContext()
124 case Runtime::kThrowConstructorReturnedNonObject: in NeedsExactContext()
125 case Runtime::kThrowInvalidStringLength: in NeedsExactContext()
126 case Runtime::kThrowInvalidTypedArrayAlignment: in NeedsExactContext()
127 case Runtime::kThrowIteratorError: in NeedsExactContext()
128 case Runtime::kThrowIteratorResultNotAnObject: in NeedsExactContext()
129 case Runtime::kThrowNotConstructor: in NeedsExactContext()
130 case Runtime::kThrowRangeError: in NeedsExactContext()
131 case Runtime::kThrowReferenceError: in NeedsExactContext()
132 case Runtime::kThrowAccessedUninitializedVariable: in NeedsExactContext()
133 case Runtime::kThrowStackOverflow: in NeedsExactContext()
134 case Runtime::kThrowStaticPrototypeError: in NeedsExactContext()
135 case Runtime::kThrowSuperAlreadyCalledError: in NeedsExactContext()
136 case Runtime::kThrowSuperNotCalled: in NeedsExactContext()
137 case Runtime::kThrowSymbolAsyncIteratorInvalid: in NeedsExactContext()
138 case Runtime::kThrowSymbolIteratorInvalid: in NeedsExactContext()
139 case Runtime::kThrowThrowMethodMissing: in NeedsExactContext()
140 case Runtime::kThrowTypeError: in NeedsExactContext()
141 case Runtime::kThrowUnsupportedSuperError: in NeedsExactContext()
142 case Runtime::kThrowWasmError: in NeedsExactContext()
143 case Runtime::kThrowWasmStackOverflow: in NeedsExactContext()
150 bool Runtime::IsNonReturning(FunctionId id) { in IsNonReturning()
152 case Runtime::kThrowUnsupportedSuperError: in IsNonReturning()
153 case Runtime::kThrowConstructorNonCallableError: in IsNonReturning()
154 case Runtime::kThrowStaticPrototypeError: in IsNonReturning()
155 case Runtime::kThrowSuperAlreadyCalledError: in IsNonReturning()
156 case Runtime::kThrowSuperNotCalled: in IsNonReturning()
157 case Runtime::kReThrow: in IsNonReturning()
158 case Runtime::kThrow: in IsNonReturning()
159 case Runtime::kThrowApplyNonFunction: in IsNonReturning()
160 case Runtime::kThrowCalledNonCallable: in IsNonReturning()
161 case Runtime::kThrowConstructedNonConstructable: in IsNonReturning()
162 case Runtime::kThrowConstructorReturnedNonObject: in IsNonReturning()
163 case Runtime::kThrowInvalidStringLength: in IsNonReturning()
164 case Runtime::kThrowInvalidTypedArrayAlignment: in IsNonReturning()
165 case Runtime::kThrowIteratorError: in IsNonReturning()
166 case Runtime::kThrowIteratorResultNotAnObject: in IsNonReturning()
167 case Runtime::kThrowThrowMethodMissing: in IsNonReturning()
168 case Runtime::kThrowSymbolIteratorInvalid: in IsNonReturning()
169 case Runtime::kThrowNotConstructor: in IsNonReturning()
170 case Runtime::kThrowRangeError: in IsNonReturning()
171 case Runtime::kThrowReferenceError: in IsNonReturning()
172 case Runtime::kThrowAccessedUninitializedVariable: in IsNonReturning()
173 case Runtime::kThrowStackOverflow: in IsNonReturning()
174 case Runtime::kThrowSymbolAsyncIteratorInvalid: in IsNonReturning()
175 case Runtime::kThrowTypeError: in IsNonReturning()
176 case Runtime::kThrowConstAssignError: in IsNonReturning()
177 case Runtime::kThrowWasmError: in IsNonReturning()
178 case Runtime::kThrowWasmStackOverflow: in IsNonReturning()
185 bool Runtime::MayAllocate(FunctionId id) { in MayAllocate()
187 case Runtime::kCompleteInobjectSlackTracking: in MayAllocate()
188 case Runtime::kCompleteInobjectSlackTrackingForMap: in MayAllocate()
195 bool Runtime::IsAllowListedForFuzzing(FunctionId id) { in IsAllowListedForFuzzing()
198 // Runtime functions allowlisted for all fuzzers. Only add functions that in IsAllowListedForFuzzing()
200 case Runtime::kArrayBufferDetach: in IsAllowListedForFuzzing()
201 case Runtime::kDeoptimizeFunction: in IsAllowListedForFuzzing()
202 case Runtime::kDeoptimizeNow: in IsAllowListedForFuzzing()
203 case Runtime::kEnableCodeLoggingForTesting: in IsAllowListedForFuzzing()
204 case Runtime::kGetUndetectable: in IsAllowListedForFuzzing()
205 case Runtime::kNeverOptimizeFunction: in IsAllowListedForFuzzing()
206 case Runtime::kOptimizeFunctionOnNextCall: in IsAllowListedForFuzzing()
207 case Runtime::kOptimizeOsr: in IsAllowListedForFuzzing()
208 case Runtime::kPrepareFunctionForOptimization: in IsAllowListedForFuzzing()
209 case Runtime::kSetAllocationTimeout: in IsAllowListedForFuzzing()
210 case Runtime::kSimulateNewspaceFull: in IsAllowListedForFuzzing()
212 // Runtime functions only permitted for non-differential fuzzers. in IsAllowListedForFuzzing()
215 case Runtime::kGetOptimizationStatus: in IsAllowListedForFuzzing()
216 case Runtime::kHeapObjectVerify: in IsAllowListedForFuzzing()
217 case Runtime::kIsBeingInterpreted: in IsAllowListedForFuzzing()
224 const Runtime::Function* Runtime::FunctionForName(const unsigned char* name, in FunctionForName()
238 const Runtime::Function* Runtime::FunctionForEntry(Address entry) { in FunctionForEntry()
248 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { in FunctionForId()
252 const Runtime::Function* Runtime::RuntimeFunctionTable(Isolate* isolate) { in RuntimeFunctionTable()
255 // redirected runtime entry addresses. in RuntimeFunctionTable()
263 ExternalReference::Create(static_cast<Runtime::FunctionId>(i)); in RuntimeFunctionTable()
276 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) { in operator <<()
277 return os << Runtime::FunctionForId(id)->name; in operator <<()