Lines Matching refs:Runtime
35 Runtime::k##name, Runtime::RUNTIME, #name, FUNCTION_ADDR(Runtime_##name), \
43 Runtime::kInline##name, Runtime::INLINE, "_" #name, \
48 static const Runtime::Function kIntrinsicFunctions[] = {
85 const Runtime::Function* function = &kIntrinsicFunctions[i];
91 entry->value = const_cast<Runtime::Function*>(function);
98 bool Runtime::NeedsExactContext(FunctionId id) {
100 case Runtime::kInlineAsyncFunctionReject:
101 case Runtime::kInlineAsyncFunctionResolve:
107 case Runtime::kCreatePrivateAccessors:
108 case Runtime::kCopyDataProperties:
109 case Runtime::kCreateDataProperty:
110 case Runtime::kCreatePrivateNameSymbol:
111 case Runtime::kCreatePrivateBrandSymbol:
112 case Runtime::kLoadPrivateGetter:
113 case Runtime::kLoadPrivateSetter:
114 case Runtime::kReThrow:
115 case Runtime::kReThrowWithMessage:
116 case Runtime::kThrow:
117 case Runtime::kThrowApplyNonFunction:
118 case Runtime::kThrowCalledNonCallable:
119 case Runtime::kThrowConstAssignError:
120 case Runtime::kThrowConstructorNonCallableError:
121 case Runtime::kThrowConstructedNonConstructable:
122 case Runtime::kThrowConstructorReturnedNonObject:
123 case Runtime::kThrowInvalidStringLength:
124 case Runtime::kThrowInvalidTypedArrayAlignment:
125 case Runtime::kThrowIteratorError:
126 case Runtime::kThrowIteratorResultNotAnObject:
127 case Runtime::kThrowNotConstructor:
128 case Runtime::kThrowRangeError:
129 case Runtime::kThrowReferenceError:
130 case Runtime::kThrowAccessedUninitializedVariable:
131 case Runtime::kThrowStackOverflow:
132 case Runtime::kThrowStaticPrototypeError:
133 case Runtime::kThrowSuperAlreadyCalledError:
134 case Runtime::kThrowSuperNotCalled:
135 case Runtime::kThrowSymbolAsyncIteratorInvalid:
136 case Runtime::kThrowSymbolIteratorInvalid:
137 case Runtime::kThrowThrowMethodMissing:
138 case Runtime::kThrowTypeError:
139 case Runtime::kThrowUnsupportedSuperError:
141 case Runtime::kThrowWasmError:
142 case Runtime::kThrowWasmStackOverflow:
150 bool Runtime::IsNonReturning(FunctionId id) {
152 case Runtime::kThrowUnsupportedSuperError:
153 case Runtime::kThrowConstructorNonCallableError:
154 case Runtime::kThrowStaticPrototypeError:
155 case Runtime::kThrowSuperAlreadyCalledError:
156 case Runtime::kThrowSuperNotCalled:
157 case Runtime::kReThrow:
158 case Runtime::kReThrowWithMessage:
159 case Runtime::kThrow:
160 case Runtime::kThrowApplyNonFunction:
161 case Runtime::kThrowCalledNonCallable:
162 case Runtime::kThrowConstructedNonConstructable:
163 case Runtime::kThrowConstructorReturnedNonObject:
164 case Runtime::kThrowInvalidStringLength:
165 case Runtime::kThrowInvalidTypedArrayAlignment:
166 case Runtime::kThrowIteratorError:
167 case Runtime::kThrowIteratorResultNotAnObject:
168 case Runtime::kThrowThrowMethodMissing:
169 case Runtime::kThrowSymbolIteratorInvalid:
170 case Runtime::kThrowNotConstructor:
171 case Runtime::kThrowRangeError:
172 case Runtime::kThrowReferenceError:
173 case Runtime::kThrowAccessedUninitializedVariable:
174 case Runtime::kThrowStackOverflow:
175 case Runtime::kThrowSymbolAsyncIteratorInvalid:
176 case Runtime::kThrowTypeError:
177 case Runtime::kThrowConstAssignError:
179 case Runtime::kThrowWasmError:
180 case Runtime::kThrowWasmStackOverflow:
188 bool Runtime::MayAllocate(FunctionId id) {
190 case Runtime::kCompleteInobjectSlackTracking:
191 case Runtime::kCompleteInobjectSlackTrackingForMap:
198 bool Runtime::IsAllowListedForFuzzing(FunctionId id) {
201 // Runtime functions allowlisted for all fuzzers. Only add functions that
203 case Runtime::kArrayBufferDetach:
204 case Runtime::kDeoptimizeFunction:
205 case Runtime::kDeoptimizeNow:
206 case Runtime::kDisableOptimizationFinalization:
207 case Runtime::kEnableCodeLoggingForTesting:
208 case Runtime::kFinalizeOptimization:
209 case Runtime::kGetUndetectable:
210 case Runtime::kNeverOptimizeFunction:
211 case Runtime::kOptimizeFunctionOnNextCall:
212 case Runtime::kOptimizeOsr:
213 case Runtime::kPrepareFunctionForOptimization:
214 case Runtime::kPretenureAllocationSite:
215 case Runtime::kSetAllocationTimeout:
216 case Runtime::kSimulateNewspaceFull:
217 case Runtime::kWaitForBackgroundOptimization:
219 // Runtime functions only permitted for non-differential fuzzers.
222 case Runtime::kGetOptimizationStatus:
223 case Runtime::kHeapObjectVerify:
224 case Runtime::kIsBeingInterpreted:
226 case Runtime::kVerifyType:
229 case Runtime::kBaselineOsr:
230 case Runtime::kCompileBaseline:
237 const Runtime::Function* Runtime::FunctionForName(const unsigned char* name,
251 const Runtime::Function* Runtime::FunctionForEntry(Address entry) {
261 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) {
265 const Runtime::Function* Runtime::RuntimeFunctionTable(Isolate* isolate) {
276 ExternalReference::Create(static_cast<Runtime::FunctionId>(i));
289 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) {
290 return os << Runtime::FunctionForId(id)->name;