| 1 | /* |
| 2 | * Copyright (c) 2014, 2015, 2016 Apple Inc. All rights reserved. |
| 3 | * Copyright (c) 2014, 2017 -2017 Apple Inc. All rights reserved. |
| 4 | * Copyright (c) 2015 Andy VanWagoner <andy@vanwagoner.family>. |
| 5 | * Copyright (c) 2015 Jordan Harband. All rights reserved. |
| 6 | * Copyright (c) 2015, 2016 -2016 Apple Inc. All rights reserved. |
| 7 | * Copyright (c) 2015, 2016 -2016 Yusuke Suzuki <utatane.tea@gmail.com>. |
| 8 | * Copyright (c) 2015, 2016, 2017 Yusuke Suzuki <utatane.tea@gmail.com>. |
| 9 | * Copyright (c) 2016 Caitlin Potter <caitp@igalia.com>. |
| 10 | * Copyright (c) 2016 Yusuke Suzuki <utatane.tea@gmail.com> |
| 11 | * Copyright (c) 2016, 2017 -2017 Yusuke Suzuki <utatane.tea@gmail.com>. |
| 12 | * Copyright (c) 2016, 2017, 2018 Oleksandr Skachkov <gskachkov@gmail.com>. |
| 13 | * Copyright (c) 2016, 2018 -2018 Apple Inc. All rights reserved. |
| 14 | * Copyright (c) 2017 Caio Lima <ticaiolima@gmail.com>. |
| 15 | * Copyright (c) 2018 Yusuke Suzuki <yusukesuzuki@slowstart.org>. |
| 16 | * |
| 17 | * Redistribution and use in source and binary forms, with or without |
| 18 | * modification, are permitted provided that the following conditions |
| 19 | * are met: |
| 20 | * 1. Redistributions of source code must retain the above copyright |
| 21 | * notice, this list of conditions and the following disclaimer. |
| 22 | * 2. Redistributions in binary form must reproduce the above copyright |
| 23 | * notice, this list of conditions and the following disclaimer in the |
| 24 | * documentation and/or other materials provided with the distribution. |
| 25 | * |
| 26 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' |
| 27 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 28 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 29 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS |
| 30 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 31 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 32 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 33 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 34 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 35 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 36 | * THE POSSIBILITY OF SUCH DAMAGE. |
| 37 | * |
| 38 | */ |
| 39 | |
| 40 | // DO NOT EDIT THIS FILE. It is automatically generated from JavaScript files for |
| 41 | // builtins by the script: Source/JavaScriptCore/Scripts/generate-js-builtins.py |
| 42 | |
| 43 | #pragma once |
| 44 | |
| 45 | namespace JSC { |
| 46 | class FunctionExecutable; |
| 47 | class VM; |
| 48 | |
| 49 | enum class ConstructAbility : unsigned; |
| 50 | } |
| 51 | |
| 52 | namespace JSC { |
| 53 | |
| 54 | extern const char s_JSCCombinedCode[]; |
| 55 | |
| 56 | extern const unsigned s_JSCCombinedCodeLength; |
| 57 | |
| 58 | /* ArrayConstructor */ |
| 59 | extern const char* const s_arrayConstructorOfCode; |
| 60 | extern const int s_arrayConstructorOfCodeLength; |
| 61 | extern const JSC::ConstructAbility s_arrayConstructorOfCodeConstructAbility; |
| 62 | extern const char* const s_arrayConstructorFromCode; |
| 63 | extern const int s_arrayConstructorFromCodeLength; |
| 64 | extern const JSC::ConstructAbility s_arrayConstructorFromCodeConstructAbility; |
| 65 | extern const char* const s_arrayConstructorIsArrayCode; |
| 66 | extern const int s_arrayConstructorIsArrayCodeLength; |
| 67 | extern const JSC::ConstructAbility s_arrayConstructorIsArrayCodeConstructAbility; |
| 68 | |
| 69 | #define JSC_FOREACH_ARRAYCONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 70 | macro(of, arrayConstructorOf, 0) \ |
| 71 | macro(from, arrayConstructorFrom, 1) \ |
| 72 | macro(isArray, arrayConstructorIsArray, 1) \ |
| 73 | |
| 74 | /* ArrayIteratorPrototype */ |
| 75 | extern const char* const s_arrayIteratorPrototypeNextCode; |
| 76 | extern const int s_arrayIteratorPrototypeNextCodeLength; |
| 77 | extern const JSC::ConstructAbility s_arrayIteratorPrototypeNextCodeConstructAbility; |
| 78 | extern const char* const s_arrayIteratorPrototypeArrayIteratorValueNextCode; |
| 79 | extern const int s_arrayIteratorPrototypeArrayIteratorValueNextCodeLength; |
| 80 | extern const JSC::ConstructAbility s_arrayIteratorPrototypeArrayIteratorValueNextCodeConstructAbility; |
| 81 | extern const char* const s_arrayIteratorPrototypeArrayIteratorKeyNextCode; |
| 82 | extern const int s_arrayIteratorPrototypeArrayIteratorKeyNextCodeLength; |
| 83 | extern const JSC::ConstructAbility s_arrayIteratorPrototypeArrayIteratorKeyNextCodeConstructAbility; |
| 84 | extern const char* const s_arrayIteratorPrototypeArrayIteratorKeyValueNextCode; |
| 85 | extern const int s_arrayIteratorPrototypeArrayIteratorKeyValueNextCodeLength; |
| 86 | extern const JSC::ConstructAbility s_arrayIteratorPrototypeArrayIteratorKeyValueNextCodeConstructAbility; |
| 87 | |
| 88 | #define JSC_FOREACH_ARRAYITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 89 | macro(next, arrayIteratorPrototypeNext, 0) \ |
| 90 | macro(arrayIteratorValueNext, arrayIteratorPrototypeArrayIteratorValueNext, 0) \ |
| 91 | macro(arrayIteratorKeyNext, arrayIteratorPrototypeArrayIteratorKeyNext, 0) \ |
| 92 | macro(arrayIteratorKeyValueNext, arrayIteratorPrototypeArrayIteratorKeyValueNext, 0) \ |
| 93 | |
| 94 | /* ArrayPrototype */ |
| 95 | extern const char* const s_arrayPrototypeCreateArrayIteratorConstructorCode; |
| 96 | extern const int s_arrayPrototypeCreateArrayIteratorConstructorCodeLength; |
| 97 | extern const JSC::ConstructAbility s_arrayPrototypeCreateArrayIteratorConstructorCodeConstructAbility; |
| 98 | extern const char* const s_arrayPrototypeValuesCode; |
| 99 | extern const int s_arrayPrototypeValuesCodeLength; |
| 100 | extern const JSC::ConstructAbility s_arrayPrototypeValuesCodeConstructAbility; |
| 101 | extern const char* const s_arrayPrototypeKeysCode; |
| 102 | extern const int s_arrayPrototypeKeysCodeLength; |
| 103 | extern const JSC::ConstructAbility s_arrayPrototypeKeysCodeConstructAbility; |
| 104 | extern const char* const s_arrayPrototypeEntriesCode; |
| 105 | extern const int s_arrayPrototypeEntriesCodeLength; |
| 106 | extern const JSC::ConstructAbility s_arrayPrototypeEntriesCodeConstructAbility; |
| 107 | extern const char* const s_arrayPrototypeReduceCode; |
| 108 | extern const int s_arrayPrototypeReduceCodeLength; |
| 109 | extern const JSC::ConstructAbility s_arrayPrototypeReduceCodeConstructAbility; |
| 110 | extern const char* const s_arrayPrototypeReduceRightCode; |
| 111 | extern const int s_arrayPrototypeReduceRightCodeLength; |
| 112 | extern const JSC::ConstructAbility s_arrayPrototypeReduceRightCodeConstructAbility; |
| 113 | extern const char* const s_arrayPrototypeEveryCode; |
| 114 | extern const int s_arrayPrototypeEveryCodeLength; |
| 115 | extern const JSC::ConstructAbility s_arrayPrototypeEveryCodeConstructAbility; |
| 116 | extern const char* const s_arrayPrototypeForEachCode; |
| 117 | extern const int s_arrayPrototypeForEachCodeLength; |
| 118 | extern const JSC::ConstructAbility s_arrayPrototypeForEachCodeConstructAbility; |
| 119 | extern const char* const s_arrayPrototypeFilterCode; |
| 120 | extern const int s_arrayPrototypeFilterCodeLength; |
| 121 | extern const JSC::ConstructAbility s_arrayPrototypeFilterCodeConstructAbility; |
| 122 | extern const char* const s_arrayPrototypeMapCode; |
| 123 | extern const int s_arrayPrototypeMapCodeLength; |
| 124 | extern const JSC::ConstructAbility s_arrayPrototypeMapCodeConstructAbility; |
| 125 | extern const char* const s_arrayPrototypeSomeCode; |
| 126 | extern const int s_arrayPrototypeSomeCodeLength; |
| 127 | extern const JSC::ConstructAbility s_arrayPrototypeSomeCodeConstructAbility; |
| 128 | extern const char* const s_arrayPrototypeFillCode; |
| 129 | extern const int s_arrayPrototypeFillCodeLength; |
| 130 | extern const JSC::ConstructAbility s_arrayPrototypeFillCodeConstructAbility; |
| 131 | extern const char* const s_arrayPrototypeFindCode; |
| 132 | extern const int s_arrayPrototypeFindCodeLength; |
| 133 | extern const JSC::ConstructAbility s_arrayPrototypeFindCodeConstructAbility; |
| 134 | extern const char* const s_arrayPrototypeFindIndexCode; |
| 135 | extern const int s_arrayPrototypeFindIndexCodeLength; |
| 136 | extern const JSC::ConstructAbility s_arrayPrototypeFindIndexCodeConstructAbility; |
| 137 | extern const char* const s_arrayPrototypeIncludesCode; |
| 138 | extern const int s_arrayPrototypeIncludesCodeLength; |
| 139 | extern const JSC::ConstructAbility s_arrayPrototypeIncludesCodeConstructAbility; |
| 140 | extern const char* const s_arrayPrototypeSortCode; |
| 141 | extern const int s_arrayPrototypeSortCodeLength; |
| 142 | extern const JSC::ConstructAbility s_arrayPrototypeSortCodeConstructAbility; |
| 143 | extern const char* const s_arrayPrototypeConcatSlowPathCode; |
| 144 | extern const int s_arrayPrototypeConcatSlowPathCodeLength; |
| 145 | extern const JSC::ConstructAbility s_arrayPrototypeConcatSlowPathCodeConstructAbility; |
| 146 | extern const char* const s_arrayPrototypeConcatCode; |
| 147 | extern const int s_arrayPrototypeConcatCodeLength; |
| 148 | extern const JSC::ConstructAbility s_arrayPrototypeConcatCodeConstructAbility; |
| 149 | extern const char* const s_arrayPrototypeCopyWithinCode; |
| 150 | extern const int s_arrayPrototypeCopyWithinCodeLength; |
| 151 | extern const JSC::ConstructAbility s_arrayPrototypeCopyWithinCodeConstructAbility; |
| 152 | extern const char* const s_arrayPrototypeArraySpeciesCreateCode; |
| 153 | extern const int s_arrayPrototypeArraySpeciesCreateCodeLength; |
| 154 | extern const JSC::ConstructAbility s_arrayPrototypeArraySpeciesCreateCodeConstructAbility; |
| 155 | extern const char* const s_arrayPrototypeFlatIntoArrayCode; |
| 156 | extern const int s_arrayPrototypeFlatIntoArrayCodeLength; |
| 157 | extern const JSC::ConstructAbility s_arrayPrototypeFlatIntoArrayCodeConstructAbility; |
| 158 | extern const char* const s_arrayPrototypeFlatCode; |
| 159 | extern const int s_arrayPrototypeFlatCodeLength; |
| 160 | extern const JSC::ConstructAbility s_arrayPrototypeFlatCodeConstructAbility; |
| 161 | extern const char* const s_arrayPrototypeFlatIntoArrayWithCallbackCode; |
| 162 | extern const int s_arrayPrototypeFlatIntoArrayWithCallbackCodeLength; |
| 163 | extern const JSC::ConstructAbility s_arrayPrototypeFlatIntoArrayWithCallbackCodeConstructAbility; |
| 164 | extern const char* const s_arrayPrototypeFlatMapCode; |
| 165 | extern const int s_arrayPrototypeFlatMapCodeLength; |
| 166 | extern const JSC::ConstructAbility s_arrayPrototypeFlatMapCodeConstructAbility; |
| 167 | |
| 168 | #define JSC_FOREACH_ARRAYPROTOTYPE_BUILTIN_DATA(macro) \ |
| 169 | macro(createArrayIterator, arrayPrototypeCreateArrayIteratorConstructor, 3) \ |
| 170 | macro(values, arrayPrototypeValues, 0) \ |
| 171 | macro(keys, arrayPrototypeKeys, 0) \ |
| 172 | macro(entries, arrayPrototypeEntries, 0) \ |
| 173 | macro(reduce, arrayPrototypeReduce, 1) \ |
| 174 | macro(reduceRight, arrayPrototypeReduceRight, 1) \ |
| 175 | macro(every, arrayPrototypeEvery, 1) \ |
| 176 | macro(forEach, arrayPrototypeForEach, 1) \ |
| 177 | macro(filter, arrayPrototypeFilter, 1) \ |
| 178 | macro(map, arrayPrototypeMap, 1) \ |
| 179 | macro(some, arrayPrototypeSome, 1) \ |
| 180 | macro(fill, arrayPrototypeFill, 1) \ |
| 181 | macro(find, arrayPrototypeFind, 1) \ |
| 182 | macro(findIndex, arrayPrototypeFindIndex, 1) \ |
| 183 | macro(includes, arrayPrototypeIncludes, 1) \ |
| 184 | macro(sort, arrayPrototypeSort, 1) \ |
| 185 | macro(concatSlowPath, arrayPrototypeConcatSlowPath, 0) \ |
| 186 | macro(concat, arrayPrototypeConcat, 1) \ |
| 187 | macro(copyWithin, arrayPrototypeCopyWithin, 2) \ |
| 188 | macro(arraySpeciesCreate, arrayPrototypeArraySpeciesCreate, 2) \ |
| 189 | macro(flatIntoArray, arrayPrototypeFlatIntoArray, 5) \ |
| 190 | macro(flat, arrayPrototypeFlat, 0) \ |
| 191 | macro(flatIntoArrayWithCallback, arrayPrototypeFlatIntoArrayWithCallback, 6) \ |
| 192 | macro(flatMap, arrayPrototypeFlatMap, 1) \ |
| 193 | |
| 194 | /* AsyncFromSyncIteratorPrototype */ |
| 195 | extern const char* const s_asyncFromSyncIteratorPrototypeNextCode; |
| 196 | extern const int s_asyncFromSyncIteratorPrototypeNextCodeLength; |
| 197 | extern const JSC::ConstructAbility s_asyncFromSyncIteratorPrototypeNextCodeConstructAbility; |
| 198 | extern const char* const s_asyncFromSyncIteratorPrototypeReturnCode; |
| 199 | extern const int s_asyncFromSyncIteratorPrototypeReturnCodeLength; |
| 200 | extern const JSC::ConstructAbility s_asyncFromSyncIteratorPrototypeReturnCodeConstructAbility; |
| 201 | extern const char* const s_asyncFromSyncIteratorPrototypeThrowCode; |
| 202 | extern const int s_asyncFromSyncIteratorPrototypeThrowCodeLength; |
| 203 | extern const JSC::ConstructAbility s_asyncFromSyncIteratorPrototypeThrowCodeConstructAbility; |
| 204 | extern const char* const s_asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIteratorCode; |
| 205 | extern const int s_asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIteratorCodeLength; |
| 206 | extern const JSC::ConstructAbility s_asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIteratorCodeConstructAbility; |
| 207 | extern const char* const s_asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructorCode; |
| 208 | extern const int s_asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructorCodeLength; |
| 209 | extern const JSC::ConstructAbility s_asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructorCodeConstructAbility; |
| 210 | |
| 211 | #define JSC_FOREACH_ASYNCFROMSYNCITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 212 | macro(next, asyncFromSyncIteratorPrototypeNext, 1) \ |
| 213 | macro(return, asyncFromSyncIteratorPrototypeReturn, 1) \ |
| 214 | macro(throw, asyncFromSyncIteratorPrototypeThrow, 1) \ |
| 215 | macro(createAsyncFromSyncIterator, asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIterator, 2) \ |
| 216 | macro(AsyncFromSyncIteratorConstructor, asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructor, 2) \ |
| 217 | |
| 218 | /* AsyncFunctionPrototype */ |
| 219 | extern const char* const s_asyncFunctionPrototypeAsyncFunctionResumeCode; |
| 220 | extern const int s_asyncFunctionPrototypeAsyncFunctionResumeCodeLength; |
| 221 | extern const JSC::ConstructAbility s_asyncFunctionPrototypeAsyncFunctionResumeCodeConstructAbility; |
| 222 | |
| 223 | #define JSC_FOREACH_ASYNCFUNCTIONPROTOTYPE_BUILTIN_DATA(macro) \ |
| 224 | macro(asyncFunctionResume, asyncFunctionPrototypeAsyncFunctionResume, 4) \ |
| 225 | |
| 226 | /* AsyncGeneratorPrototype */ |
| 227 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorQueueIsEmptyCode; |
| 228 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorQueueIsEmptyCodeLength; |
| 229 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorQueueIsEmptyCodeConstructAbility; |
| 230 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorQueueEnqueueCode; |
| 231 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorQueueEnqueueCodeLength; |
| 232 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorQueueEnqueueCodeConstructAbility; |
| 233 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorQueueDequeueCode; |
| 234 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorQueueDequeueCodeLength; |
| 235 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorQueueDequeueCodeConstructAbility; |
| 236 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorDequeueCode; |
| 237 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorDequeueCodeLength; |
| 238 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorDequeueCodeConstructAbility; |
| 239 | extern const char* const s_asyncGeneratorPrototypeIsExecutionStateCode; |
| 240 | extern const int s_asyncGeneratorPrototypeIsExecutionStateCodeLength; |
| 241 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeIsExecutionStateCodeConstructAbility; |
| 242 | extern const char* const s_asyncGeneratorPrototypeIsSuspendYieldStateCode; |
| 243 | extern const int s_asyncGeneratorPrototypeIsSuspendYieldStateCodeLength; |
| 244 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeIsSuspendYieldStateCodeConstructAbility; |
| 245 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorRejectCode; |
| 246 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorRejectCodeLength; |
| 247 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorRejectCodeConstructAbility; |
| 248 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorResolveCode; |
| 249 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorResolveCodeLength; |
| 250 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorResolveCodeConstructAbility; |
| 251 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorYieldCode; |
| 252 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorYieldCodeLength; |
| 253 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorYieldCodeConstructAbility; |
| 254 | extern const char* const s_asyncGeneratorPrototypeAwaitValueCode; |
| 255 | extern const int s_asyncGeneratorPrototypeAwaitValueCodeLength; |
| 256 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAwaitValueCodeConstructAbility; |
| 257 | extern const char* const s_asyncGeneratorPrototypeDoAsyncGeneratorBodyCallCode; |
| 258 | extern const int s_asyncGeneratorPrototypeDoAsyncGeneratorBodyCallCodeLength; |
| 259 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeDoAsyncGeneratorBodyCallCodeConstructAbility; |
| 260 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorResumeNextCode; |
| 261 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorResumeNextCodeLength; |
| 262 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorResumeNextCodeConstructAbility; |
| 263 | extern const char* const s_asyncGeneratorPrototypeAsyncGeneratorEnqueueCode; |
| 264 | extern const int s_asyncGeneratorPrototypeAsyncGeneratorEnqueueCodeLength; |
| 265 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeAsyncGeneratorEnqueueCodeConstructAbility; |
| 266 | extern const char* const s_asyncGeneratorPrototypeNextCode; |
| 267 | extern const int s_asyncGeneratorPrototypeNextCodeLength; |
| 268 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeNextCodeConstructAbility; |
| 269 | extern const char* const s_asyncGeneratorPrototypeReturnCode; |
| 270 | extern const int s_asyncGeneratorPrototypeReturnCodeLength; |
| 271 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeReturnCodeConstructAbility; |
| 272 | extern const char* const s_asyncGeneratorPrototypeThrowCode; |
| 273 | extern const int s_asyncGeneratorPrototypeThrowCodeLength; |
| 274 | extern const JSC::ConstructAbility s_asyncGeneratorPrototypeThrowCodeConstructAbility; |
| 275 | |
| 276 | #define JSC_FOREACH_ASYNCGENERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 277 | macro(asyncGeneratorQueueIsEmpty, asyncGeneratorPrototypeAsyncGeneratorQueueIsEmpty, 1) \ |
| 278 | macro(asyncGeneratorQueueEnqueue, asyncGeneratorPrototypeAsyncGeneratorQueueEnqueue, 2) \ |
| 279 | macro(asyncGeneratorQueueDequeue, asyncGeneratorPrototypeAsyncGeneratorQueueDequeue, 1) \ |
| 280 | macro(asyncGeneratorDequeue, asyncGeneratorPrototypeAsyncGeneratorDequeue, 1) \ |
| 281 | macro(isExecutionState, asyncGeneratorPrototypeIsExecutionState, 1) \ |
| 282 | macro(isSuspendYieldState, asyncGeneratorPrototypeIsSuspendYieldState, 1) \ |
| 283 | macro(asyncGeneratorReject, asyncGeneratorPrototypeAsyncGeneratorReject, 2) \ |
| 284 | macro(asyncGeneratorResolve, asyncGeneratorPrototypeAsyncGeneratorResolve, 3) \ |
| 285 | macro(asyncGeneratorYield, asyncGeneratorPrototypeAsyncGeneratorYield, 3) \ |
| 286 | macro(awaitValue, asyncGeneratorPrototypeAwaitValue, 3) \ |
| 287 | macro(doAsyncGeneratorBodyCall, asyncGeneratorPrototypeDoAsyncGeneratorBodyCall, 3) \ |
| 288 | macro(asyncGeneratorResumeNext, asyncGeneratorPrototypeAsyncGeneratorResumeNext, 1) \ |
| 289 | macro(asyncGeneratorEnqueue, asyncGeneratorPrototypeAsyncGeneratorEnqueue, 3) \ |
| 290 | macro(next, asyncGeneratorPrototypeNext, 1) \ |
| 291 | macro(return, asyncGeneratorPrototypeReturn, 1) \ |
| 292 | macro(throw, asyncGeneratorPrototypeThrow, 1) \ |
| 293 | |
| 294 | /* AsyncIteratorPrototype */ |
| 295 | extern const char* const s_asyncIteratorPrototypeSymbolAsyncIteratorGetterCode; |
| 296 | extern const int s_asyncIteratorPrototypeSymbolAsyncIteratorGetterCodeLength; |
| 297 | extern const JSC::ConstructAbility s_asyncIteratorPrototypeSymbolAsyncIteratorGetterCodeConstructAbility; |
| 298 | |
| 299 | #define JSC_FOREACH_ASYNCITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 300 | macro(symbolAsyncIteratorGetter, asyncIteratorPrototypeSymbolAsyncIteratorGetter, 0) \ |
| 301 | |
| 302 | /* DatePrototype */ |
| 303 | extern const char* const s_datePrototypeToLocaleStringCode; |
| 304 | extern const int s_datePrototypeToLocaleStringCodeLength; |
| 305 | extern const JSC::ConstructAbility s_datePrototypeToLocaleStringCodeConstructAbility; |
| 306 | extern const char* const s_datePrototypeToLocaleDateStringCode; |
| 307 | extern const int s_datePrototypeToLocaleDateStringCodeLength; |
| 308 | extern const JSC::ConstructAbility s_datePrototypeToLocaleDateStringCodeConstructAbility; |
| 309 | extern const char* const s_datePrototypeToLocaleTimeStringCode; |
| 310 | extern const int s_datePrototypeToLocaleTimeStringCodeLength; |
| 311 | extern const JSC::ConstructAbility s_datePrototypeToLocaleTimeStringCodeConstructAbility; |
| 312 | |
| 313 | #define JSC_FOREACH_DATEPROTOTYPE_BUILTIN_DATA(macro) \ |
| 314 | macro(toLocaleString, datePrototypeToLocaleString, 0) \ |
| 315 | macro(toLocaleDateString, datePrototypeToLocaleDateString, 0) \ |
| 316 | macro(toLocaleTimeString, datePrototypeToLocaleTimeString, 0) \ |
| 317 | |
| 318 | /* FunctionPrototype */ |
| 319 | extern const char* const s_functionPrototypeCallCode; |
| 320 | extern const int s_functionPrototypeCallCodeLength; |
| 321 | extern const JSC::ConstructAbility s_functionPrototypeCallCodeConstructAbility; |
| 322 | extern const char* const s_functionPrototypeApplyCode; |
| 323 | extern const int s_functionPrototypeApplyCodeLength; |
| 324 | extern const JSC::ConstructAbility s_functionPrototypeApplyCodeConstructAbility; |
| 325 | extern const char* const s_functionPrototypeSymbolHasInstanceCode; |
| 326 | extern const int s_functionPrototypeSymbolHasInstanceCodeLength; |
| 327 | extern const JSC::ConstructAbility s_functionPrototypeSymbolHasInstanceCodeConstructAbility; |
| 328 | extern const char* const s_functionPrototypeBindCode; |
| 329 | extern const int s_functionPrototypeBindCodeLength; |
| 330 | extern const JSC::ConstructAbility s_functionPrototypeBindCodeConstructAbility; |
| 331 | |
| 332 | #define JSC_FOREACH_FUNCTIONPROTOTYPE_BUILTIN_DATA(macro) \ |
| 333 | macro(call, functionPrototypeCall, 1) \ |
| 334 | macro(apply, functionPrototypeApply, 2) \ |
| 335 | macro(symbolHasInstance, functionPrototypeSymbolHasInstance, 1) \ |
| 336 | macro(bind, functionPrototypeBind, 1) \ |
| 337 | |
| 338 | /* GeneratorPrototype */ |
| 339 | extern const char* const s_generatorPrototypeGeneratorResumeCode; |
| 340 | extern const int s_generatorPrototypeGeneratorResumeCodeLength; |
| 341 | extern const JSC::ConstructAbility s_generatorPrototypeGeneratorResumeCodeConstructAbility; |
| 342 | extern const char* const s_generatorPrototypeNextCode; |
| 343 | extern const int s_generatorPrototypeNextCodeLength; |
| 344 | extern const JSC::ConstructAbility s_generatorPrototypeNextCodeConstructAbility; |
| 345 | extern const char* const s_generatorPrototypeReturnCode; |
| 346 | extern const int s_generatorPrototypeReturnCodeLength; |
| 347 | extern const JSC::ConstructAbility s_generatorPrototypeReturnCodeConstructAbility; |
| 348 | extern const char* const s_generatorPrototypeThrowCode; |
| 349 | extern const int s_generatorPrototypeThrowCodeLength; |
| 350 | extern const JSC::ConstructAbility s_generatorPrototypeThrowCodeConstructAbility; |
| 351 | |
| 352 | #define JSC_FOREACH_GENERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 353 | macro(generatorResume, generatorPrototypeGeneratorResume, 6) \ |
| 354 | macro(next, generatorPrototypeNext, 1) \ |
| 355 | macro(return, generatorPrototypeReturn, 1) \ |
| 356 | macro(throw, generatorPrototypeThrow, 1) \ |
| 357 | |
| 358 | /* GlobalObject */ |
| 359 | extern const char* const s_globalObjectIsFiniteCode; |
| 360 | extern const int s_globalObjectIsFiniteCodeLength; |
| 361 | extern const JSC::ConstructAbility s_globalObjectIsFiniteCodeConstructAbility; |
| 362 | extern const char* const s_globalObjectIsNaNCode; |
| 363 | extern const int s_globalObjectIsNaNCodeLength; |
| 364 | extern const JSC::ConstructAbility s_globalObjectIsNaNCodeConstructAbility; |
| 365 | |
| 366 | #define JSC_FOREACH_GLOBALOBJECT_BUILTIN_DATA(macro) \ |
| 367 | macro(isFinite, globalObjectIsFinite, 1) \ |
| 368 | macro(isNaN, globalObjectIsNaN, 1) \ |
| 369 | |
| 370 | /* GlobalOperations */ |
| 371 | extern const char* const s_globalOperationsToIntegerCode; |
| 372 | extern const int s_globalOperationsToIntegerCodeLength; |
| 373 | extern const JSC::ConstructAbility s_globalOperationsToIntegerCodeConstructAbility; |
| 374 | extern const char* const s_globalOperationsToLengthCode; |
| 375 | extern const int s_globalOperationsToLengthCodeLength; |
| 376 | extern const JSC::ConstructAbility s_globalOperationsToLengthCodeConstructAbility; |
| 377 | extern const char* const s_globalOperationsIsDictionaryCode; |
| 378 | extern const int s_globalOperationsIsDictionaryCodeLength; |
| 379 | extern const JSC::ConstructAbility s_globalOperationsIsDictionaryCodeConstructAbility; |
| 380 | extern const char* const s_globalOperationsSpeciesGetterCode; |
| 381 | extern const int s_globalOperationsSpeciesGetterCodeLength; |
| 382 | extern const JSC::ConstructAbility s_globalOperationsSpeciesGetterCodeConstructAbility; |
| 383 | extern const char* const s_globalOperationsSpeciesConstructorCode; |
| 384 | extern const int s_globalOperationsSpeciesConstructorCodeLength; |
| 385 | extern const JSC::ConstructAbility s_globalOperationsSpeciesConstructorCodeConstructAbility; |
| 386 | extern const char* const s_globalOperationsCopyDataPropertiesCode; |
| 387 | extern const int s_globalOperationsCopyDataPropertiesCodeLength; |
| 388 | extern const JSC::ConstructAbility s_globalOperationsCopyDataPropertiesCodeConstructAbility; |
| 389 | extern const char* const s_globalOperationsCopyDataPropertiesNoExclusionsCode; |
| 390 | extern const int s_globalOperationsCopyDataPropertiesNoExclusionsCodeLength; |
| 391 | extern const JSC::ConstructAbility s_globalOperationsCopyDataPropertiesNoExclusionsCodeConstructAbility; |
| 392 | |
| 393 | #define JSC_FOREACH_GLOBALOPERATIONS_BUILTIN_DATA(macro) \ |
| 394 | macro(toInteger, globalOperationsToInteger, 1) \ |
| 395 | macro(toLength, globalOperationsToLength, 1) \ |
| 396 | macro(isDictionary, globalOperationsIsDictionary, 1) \ |
| 397 | macro(speciesGetter, globalOperationsSpeciesGetter, 0) \ |
| 398 | macro(speciesConstructor, globalOperationsSpeciesConstructor, 2) \ |
| 399 | macro(copyDataProperties, globalOperationsCopyDataProperties, 3) \ |
| 400 | macro(copyDataPropertiesNoExclusions, globalOperationsCopyDataPropertiesNoExclusions, 2) \ |
| 401 | |
| 402 | /* InspectorInstrumentationObject */ |
| 403 | extern const char* const s_inspectorInstrumentationObjectPromiseFulfilledCode; |
| 404 | extern const int s_inspectorInstrumentationObjectPromiseFulfilledCodeLength; |
| 405 | extern const JSC::ConstructAbility s_inspectorInstrumentationObjectPromiseFulfilledCodeConstructAbility; |
| 406 | extern const char* const s_inspectorInstrumentationObjectPromiseRejectedCode; |
| 407 | extern const int s_inspectorInstrumentationObjectPromiseRejectedCodeLength; |
| 408 | extern const JSC::ConstructAbility s_inspectorInstrumentationObjectPromiseRejectedCodeConstructAbility; |
| 409 | |
| 410 | #define JSC_FOREACH_INSPECTORINSTRUMENTATIONOBJECT_BUILTIN_DATA(macro) \ |
| 411 | macro(promiseFulfilled, inspectorInstrumentationObjectPromiseFulfilled, 3) \ |
| 412 | macro(promiseRejected, inspectorInstrumentationObjectPromiseRejected, 3) \ |
| 413 | |
| 414 | /* InternalPromiseConstructor */ |
| 415 | extern const char* const s_internalPromiseConstructorInternalAllCode; |
| 416 | extern const int s_internalPromiseConstructorInternalAllCodeLength; |
| 417 | extern const JSC::ConstructAbility s_internalPromiseConstructorInternalAllCodeConstructAbility; |
| 418 | |
| 419 | #define JSC_FOREACH_INTERNALPROMISECONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 420 | macro(internalAll, internalPromiseConstructorInternalAll, 1) \ |
| 421 | |
| 422 | /* IteratorHelpers */ |
| 423 | extern const char* const s_iteratorHelpersPerformIterationCode; |
| 424 | extern const int s_iteratorHelpersPerformIterationCodeLength; |
| 425 | extern const JSC::ConstructAbility s_iteratorHelpersPerformIterationCodeConstructAbility; |
| 426 | |
| 427 | #define JSC_FOREACH_ITERATORHELPERS_BUILTIN_DATA(macro) \ |
| 428 | macro(performIteration, iteratorHelpersPerformIteration, 1) \ |
| 429 | |
| 430 | /* IteratorPrototype */ |
| 431 | extern const char* const s_iteratorPrototypeSymbolIteratorGetterCode; |
| 432 | extern const int s_iteratorPrototypeSymbolIteratorGetterCodeLength; |
| 433 | extern const JSC::ConstructAbility s_iteratorPrototypeSymbolIteratorGetterCodeConstructAbility; |
| 434 | |
| 435 | #define JSC_FOREACH_ITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 436 | macro(symbolIteratorGetter, iteratorPrototypeSymbolIteratorGetter, 0) \ |
| 437 | |
| 438 | /* MapIteratorPrototype */ |
| 439 | extern const char* const s_mapIteratorPrototypeMapIteratorNextCode; |
| 440 | extern const int s_mapIteratorPrototypeMapIteratorNextCodeLength; |
| 441 | extern const JSC::ConstructAbility s_mapIteratorPrototypeMapIteratorNextCodeConstructAbility; |
| 442 | extern const char* const s_mapIteratorPrototypeNextCode; |
| 443 | extern const int s_mapIteratorPrototypeNextCodeLength; |
| 444 | extern const JSC::ConstructAbility s_mapIteratorPrototypeNextCodeConstructAbility; |
| 445 | |
| 446 | #define JSC_FOREACH_MAPITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 447 | macro(mapIteratorNext, mapIteratorPrototypeMapIteratorNext, 2) \ |
| 448 | macro(next, mapIteratorPrototypeNext, 0) \ |
| 449 | |
| 450 | /* MapPrototype */ |
| 451 | extern const char* const s_mapPrototypeCreateMapIteratorConstructorCode; |
| 452 | extern const int s_mapPrototypeCreateMapIteratorConstructorCodeLength; |
| 453 | extern const JSC::ConstructAbility s_mapPrototypeCreateMapIteratorConstructorCodeConstructAbility; |
| 454 | extern const char* const s_mapPrototypeValuesCode; |
| 455 | extern const int s_mapPrototypeValuesCodeLength; |
| 456 | extern const JSC::ConstructAbility s_mapPrototypeValuesCodeConstructAbility; |
| 457 | extern const char* const s_mapPrototypeKeysCode; |
| 458 | extern const int s_mapPrototypeKeysCodeLength; |
| 459 | extern const JSC::ConstructAbility s_mapPrototypeKeysCodeConstructAbility; |
| 460 | extern const char* const s_mapPrototypeEntriesCode; |
| 461 | extern const int s_mapPrototypeEntriesCodeLength; |
| 462 | extern const JSC::ConstructAbility s_mapPrototypeEntriesCodeConstructAbility; |
| 463 | extern const char* const s_mapPrototypeForEachCode; |
| 464 | extern const int s_mapPrototypeForEachCodeLength; |
| 465 | extern const JSC::ConstructAbility s_mapPrototypeForEachCodeConstructAbility; |
| 466 | |
| 467 | #define JSC_FOREACH_MAPPROTOTYPE_BUILTIN_DATA(macro) \ |
| 468 | macro(createMapIterator, mapPrototypeCreateMapIteratorConstructor, 2) \ |
| 469 | macro(values, mapPrototypeValues, 0) \ |
| 470 | macro(keys, mapPrototypeKeys, 0) \ |
| 471 | macro(entries, mapPrototypeEntries, 0) \ |
| 472 | macro(forEach, mapPrototypeForEach, 1) \ |
| 473 | |
| 474 | /* ModuleLoader */ |
| 475 | extern const char* const s_moduleLoaderSetStateToMaxCode; |
| 476 | extern const int s_moduleLoaderSetStateToMaxCodeLength; |
| 477 | extern const JSC::ConstructAbility s_moduleLoaderSetStateToMaxCodeConstructAbility; |
| 478 | extern const char* const s_moduleLoaderNewRegistryEntryCode; |
| 479 | extern const int s_moduleLoaderNewRegistryEntryCodeLength; |
| 480 | extern const JSC::ConstructAbility s_moduleLoaderNewRegistryEntryCodeConstructAbility; |
| 481 | extern const char* const s_moduleLoaderEnsureRegisteredCode; |
| 482 | extern const int s_moduleLoaderEnsureRegisteredCodeLength; |
| 483 | extern const JSC::ConstructAbility s_moduleLoaderEnsureRegisteredCodeConstructAbility; |
| 484 | extern const char* const s_moduleLoaderForceFulfillPromiseCode; |
| 485 | extern const int s_moduleLoaderForceFulfillPromiseCodeLength; |
| 486 | extern const JSC::ConstructAbility s_moduleLoaderForceFulfillPromiseCodeConstructAbility; |
| 487 | extern const char* const s_moduleLoaderFulfillFetchCode; |
| 488 | extern const int s_moduleLoaderFulfillFetchCodeLength; |
| 489 | extern const JSC::ConstructAbility s_moduleLoaderFulfillFetchCodeConstructAbility; |
| 490 | extern const char* const s_moduleLoaderRequestFetchCode; |
| 491 | extern const int s_moduleLoaderRequestFetchCodeLength; |
| 492 | extern const JSC::ConstructAbility s_moduleLoaderRequestFetchCodeConstructAbility; |
| 493 | extern const char* const s_moduleLoaderRequestInstantiateCode; |
| 494 | extern const int s_moduleLoaderRequestInstantiateCodeLength; |
| 495 | extern const JSC::ConstructAbility s_moduleLoaderRequestInstantiateCodeConstructAbility; |
| 496 | extern const char* const s_moduleLoaderRequestSatisfyCode; |
| 497 | extern const int s_moduleLoaderRequestSatisfyCodeLength; |
| 498 | extern const JSC::ConstructAbility s_moduleLoaderRequestSatisfyCodeConstructAbility; |
| 499 | extern const char* const s_moduleLoaderLinkCode; |
| 500 | extern const int s_moduleLoaderLinkCodeLength; |
| 501 | extern const JSC::ConstructAbility s_moduleLoaderLinkCodeConstructAbility; |
| 502 | extern const char* const s_moduleLoaderModuleEvaluationCode; |
| 503 | extern const int s_moduleLoaderModuleEvaluationCodeLength; |
| 504 | extern const JSC::ConstructAbility s_moduleLoaderModuleEvaluationCodeConstructAbility; |
| 505 | extern const char* const s_moduleLoaderProvideFetchCode; |
| 506 | extern const int s_moduleLoaderProvideFetchCodeLength; |
| 507 | extern const JSC::ConstructAbility s_moduleLoaderProvideFetchCodeConstructAbility; |
| 508 | extern const char* const s_moduleLoaderLoadModuleCode; |
| 509 | extern const int s_moduleLoaderLoadModuleCodeLength; |
| 510 | extern const JSC::ConstructAbility s_moduleLoaderLoadModuleCodeConstructAbility; |
| 511 | extern const char* const s_moduleLoaderLinkAndEvaluateModuleCode; |
| 512 | extern const int s_moduleLoaderLinkAndEvaluateModuleCodeLength; |
| 513 | extern const JSC::ConstructAbility s_moduleLoaderLinkAndEvaluateModuleCodeConstructAbility; |
| 514 | extern const char* const s_moduleLoaderLoadAndEvaluateModuleCode; |
| 515 | extern const int s_moduleLoaderLoadAndEvaluateModuleCodeLength; |
| 516 | extern const JSC::ConstructAbility s_moduleLoaderLoadAndEvaluateModuleCodeConstructAbility; |
| 517 | extern const char* const s_moduleLoaderRequestImportModuleCode; |
| 518 | extern const int s_moduleLoaderRequestImportModuleCodeLength; |
| 519 | extern const JSC::ConstructAbility s_moduleLoaderRequestImportModuleCodeConstructAbility; |
| 520 | |
| 521 | #define JSC_FOREACH_MODULELOADER_BUILTIN_DATA(macro) \ |
| 522 | macro(setStateToMax, moduleLoaderSetStateToMax, 2) \ |
| 523 | macro(newRegistryEntry, moduleLoaderNewRegistryEntry, 1) \ |
| 524 | macro(ensureRegistered, moduleLoaderEnsureRegistered, 1) \ |
| 525 | macro(forceFulfillPromise, moduleLoaderForceFulfillPromise, 2) \ |
| 526 | macro(fulfillFetch, moduleLoaderFulfillFetch, 2) \ |
| 527 | macro(requestFetch, moduleLoaderRequestFetch, 3) \ |
| 528 | macro(requestInstantiate, moduleLoaderRequestInstantiate, 3) \ |
| 529 | macro(requestSatisfy, moduleLoaderRequestSatisfy, 4) \ |
| 530 | macro(link, moduleLoaderLink, 2) \ |
| 531 | macro(moduleEvaluation, moduleLoaderModuleEvaluation, 2) \ |
| 532 | macro(provideFetch, moduleLoaderProvideFetch, 2) \ |
| 533 | macro(loadModule, moduleLoaderLoadModule, 3) \ |
| 534 | macro(linkAndEvaluateModule, moduleLoaderLinkAndEvaluateModule, 2) \ |
| 535 | macro(loadAndEvaluateModule, moduleLoaderLoadAndEvaluateModule, 3) \ |
| 536 | macro(requestImportModule, moduleLoaderRequestImportModule, 3) \ |
| 537 | |
| 538 | /* NumberConstructor */ |
| 539 | extern const char* const s_numberConstructorIsFiniteCode; |
| 540 | extern const int s_numberConstructorIsFiniteCodeLength; |
| 541 | extern const JSC::ConstructAbility s_numberConstructorIsFiniteCodeConstructAbility; |
| 542 | extern const char* const s_numberConstructorIsNaNCode; |
| 543 | extern const int s_numberConstructorIsNaNCodeLength; |
| 544 | extern const JSC::ConstructAbility s_numberConstructorIsNaNCodeConstructAbility; |
| 545 | |
| 546 | #define JSC_FOREACH_NUMBERCONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 547 | macro(isFinite, numberConstructorIsFinite, 1) \ |
| 548 | macro(isNaN, numberConstructorIsNaN, 1) \ |
| 549 | |
| 550 | /* ObjectConstructor */ |
| 551 | extern const char* const s_objectConstructorEntriesCode; |
| 552 | extern const int s_objectConstructorEntriesCodeLength; |
| 553 | extern const JSC::ConstructAbility s_objectConstructorEntriesCodeConstructAbility; |
| 554 | extern const char* const s_objectConstructorFromEntriesCode; |
| 555 | extern const int s_objectConstructorFromEntriesCodeLength; |
| 556 | extern const JSC::ConstructAbility s_objectConstructorFromEntriesCodeConstructAbility; |
| 557 | |
| 558 | #define JSC_FOREACH_OBJECTCONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 559 | macro(entries, objectConstructorEntries, 1) \ |
| 560 | macro(fromEntries, objectConstructorFromEntries, 1) \ |
| 561 | |
| 562 | /* PromiseConstructor */ |
| 563 | extern const char* const s_promiseConstructorAllCode; |
| 564 | extern const int s_promiseConstructorAllCodeLength; |
| 565 | extern const JSC::ConstructAbility s_promiseConstructorAllCodeConstructAbility; |
| 566 | extern const char* const s_promiseConstructorRaceCode; |
| 567 | extern const int s_promiseConstructorRaceCodeLength; |
| 568 | extern const JSC::ConstructAbility s_promiseConstructorRaceCodeConstructAbility; |
| 569 | extern const char* const s_promiseConstructorRejectCode; |
| 570 | extern const int s_promiseConstructorRejectCodeLength; |
| 571 | extern const JSC::ConstructAbility s_promiseConstructorRejectCodeConstructAbility; |
| 572 | extern const char* const s_promiseConstructorResolveCode; |
| 573 | extern const int s_promiseConstructorResolveCodeLength; |
| 574 | extern const JSC::ConstructAbility s_promiseConstructorResolveCodeConstructAbility; |
| 575 | |
| 576 | #define JSC_FOREACH_PROMISECONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 577 | macro(all, promiseConstructorAll, 1) \ |
| 578 | macro(race, promiseConstructorRace, 1) \ |
| 579 | macro(reject, promiseConstructorReject, 1) \ |
| 580 | macro(resolve, promiseConstructorResolve, 1) \ |
| 581 | |
| 582 | /* PromiseOperations */ |
| 583 | extern const char* const s_promiseOperationsIsPromiseCode; |
| 584 | extern const int s_promiseOperationsIsPromiseCodeLength; |
| 585 | extern const JSC::ConstructAbility s_promiseOperationsIsPromiseCodeConstructAbility; |
| 586 | extern const char* const s_promiseOperationsNewPromiseReactionCode; |
| 587 | extern const int s_promiseOperationsNewPromiseReactionCodeLength; |
| 588 | extern const JSC::ConstructAbility s_promiseOperationsNewPromiseReactionCodeConstructAbility; |
| 589 | extern const char* const s_promiseOperationsNewPromiseCapabilityCode; |
| 590 | extern const int s_promiseOperationsNewPromiseCapabilityCodeLength; |
| 591 | extern const JSC::ConstructAbility s_promiseOperationsNewPromiseCapabilityCodeConstructAbility; |
| 592 | extern const char* const s_promiseOperationsNewHandledRejectedPromiseCode; |
| 593 | extern const int s_promiseOperationsNewHandledRejectedPromiseCodeLength; |
| 594 | extern const JSC::ConstructAbility s_promiseOperationsNewHandledRejectedPromiseCodeConstructAbility; |
| 595 | extern const char* const s_promiseOperationsTriggerPromiseReactionsCode; |
| 596 | extern const int s_promiseOperationsTriggerPromiseReactionsCodeLength; |
| 597 | extern const JSC::ConstructAbility s_promiseOperationsTriggerPromiseReactionsCodeConstructAbility; |
| 598 | extern const char* const s_promiseOperationsRejectPromiseCode; |
| 599 | extern const int s_promiseOperationsRejectPromiseCodeLength; |
| 600 | extern const JSC::ConstructAbility s_promiseOperationsRejectPromiseCodeConstructAbility; |
| 601 | extern const char* const s_promiseOperationsFulfillPromiseCode; |
| 602 | extern const int s_promiseOperationsFulfillPromiseCodeLength; |
| 603 | extern const JSC::ConstructAbility s_promiseOperationsFulfillPromiseCodeConstructAbility; |
| 604 | extern const char* const s_promiseOperationsCreateResolvingFunctionsCode; |
| 605 | extern const int s_promiseOperationsCreateResolvingFunctionsCodeLength; |
| 606 | extern const JSC::ConstructAbility s_promiseOperationsCreateResolvingFunctionsCodeConstructAbility; |
| 607 | extern const char* const s_promiseOperationsPromiseReactionJobCode; |
| 608 | extern const int s_promiseOperationsPromiseReactionJobCodeLength; |
| 609 | extern const JSC::ConstructAbility s_promiseOperationsPromiseReactionJobCodeConstructAbility; |
| 610 | extern const char* const s_promiseOperationsPromiseResolveThenableJobCode; |
| 611 | extern const int s_promiseOperationsPromiseResolveThenableJobCodeLength; |
| 612 | extern const JSC::ConstructAbility s_promiseOperationsPromiseResolveThenableJobCodeConstructAbility; |
| 613 | extern const char* const s_promiseOperationsInitializePromiseCode; |
| 614 | extern const int s_promiseOperationsInitializePromiseCodeLength; |
| 615 | extern const JSC::ConstructAbility s_promiseOperationsInitializePromiseCodeConstructAbility; |
| 616 | |
| 617 | #define JSC_FOREACH_PROMISEOPERATIONS_BUILTIN_DATA(macro) \ |
| 618 | macro(isPromise, promiseOperationsIsPromise, 1) \ |
| 619 | macro(newPromiseReaction, promiseOperationsNewPromiseReaction, 3) \ |
| 620 | macro(newPromiseCapability, promiseOperationsNewPromiseCapability, 1) \ |
| 621 | macro(newHandledRejectedPromise, promiseOperationsNewHandledRejectedPromise, 1) \ |
| 622 | macro(triggerPromiseReactions, promiseOperationsTriggerPromiseReactions, 3) \ |
| 623 | macro(rejectPromise, promiseOperationsRejectPromise, 2) \ |
| 624 | macro(fulfillPromise, promiseOperationsFulfillPromise, 2) \ |
| 625 | macro(createResolvingFunctions, promiseOperationsCreateResolvingFunctions, 1) \ |
| 626 | macro(promiseReactionJob, promiseOperationsPromiseReactionJob, 3) \ |
| 627 | macro(promiseResolveThenableJob, promiseOperationsPromiseResolveThenableJob, 3) \ |
| 628 | macro(initializePromise, promiseOperationsInitializePromise, 1) \ |
| 629 | |
| 630 | /* PromisePrototype */ |
| 631 | extern const char* const s_promisePrototypeCatchCode; |
| 632 | extern const int s_promisePrototypeCatchCodeLength; |
| 633 | extern const JSC::ConstructAbility s_promisePrototypeCatchCodeConstructAbility; |
| 634 | extern const char* const s_promisePrototypeThenCode; |
| 635 | extern const int s_promisePrototypeThenCodeLength; |
| 636 | extern const JSC::ConstructAbility s_promisePrototypeThenCodeConstructAbility; |
| 637 | extern const char* const s_promisePrototypeFinallyCode; |
| 638 | extern const int s_promisePrototypeFinallyCodeLength; |
| 639 | extern const JSC::ConstructAbility s_promisePrototypeFinallyCodeConstructAbility; |
| 640 | extern const char* const s_promisePrototypeGetThenFinallyCode; |
| 641 | extern const int s_promisePrototypeGetThenFinallyCodeLength; |
| 642 | extern const JSC::ConstructAbility s_promisePrototypeGetThenFinallyCodeConstructAbility; |
| 643 | extern const char* const s_promisePrototypeGetCatchFinallyCode; |
| 644 | extern const int s_promisePrototypeGetCatchFinallyCodeLength; |
| 645 | extern const JSC::ConstructAbility s_promisePrototypeGetCatchFinallyCodeConstructAbility; |
| 646 | |
| 647 | #define JSC_FOREACH_PROMISEPROTOTYPE_BUILTIN_DATA(macro) \ |
| 648 | macro(catch, promisePrototypeCatch, 1) \ |
| 649 | macro(then, promisePrototypeThen, 2) \ |
| 650 | macro(finally, promisePrototypeFinally, 1) \ |
| 651 | macro(getThenFinally, promisePrototypeGetThenFinally, 2) \ |
| 652 | macro(getCatchFinally, promisePrototypeGetCatchFinally, 2) \ |
| 653 | |
| 654 | /* ReflectObject */ |
| 655 | extern const char* const s_reflectObjectApplyCode; |
| 656 | extern const int s_reflectObjectApplyCodeLength; |
| 657 | extern const JSC::ConstructAbility s_reflectObjectApplyCodeConstructAbility; |
| 658 | extern const char* const s_reflectObjectDeletePropertyCode; |
| 659 | extern const int s_reflectObjectDeletePropertyCodeLength; |
| 660 | extern const JSC::ConstructAbility s_reflectObjectDeletePropertyCodeConstructAbility; |
| 661 | extern const char* const s_reflectObjectHasCode; |
| 662 | extern const int s_reflectObjectHasCodeLength; |
| 663 | extern const JSC::ConstructAbility s_reflectObjectHasCodeConstructAbility; |
| 664 | |
| 665 | #define JSC_FOREACH_REFLECTOBJECT_BUILTIN_DATA(macro) \ |
| 666 | macro(apply, reflectObjectApply, 3) \ |
| 667 | macro(deleteProperty, reflectObjectDeleteProperty, 2) \ |
| 668 | macro(has, reflectObjectHas, 2) \ |
| 669 | |
| 670 | /* RegExpPrototype */ |
| 671 | extern const char* const s_regExpPrototypeAdvanceStringIndexCode; |
| 672 | extern const int s_regExpPrototypeAdvanceStringIndexCodeLength; |
| 673 | extern const JSC::ConstructAbility s_regExpPrototypeAdvanceStringIndexCodeConstructAbility; |
| 674 | extern const char* const s_regExpPrototypeRegExpExecCode; |
| 675 | extern const int s_regExpPrototypeRegExpExecCodeLength; |
| 676 | extern const JSC::ConstructAbility s_regExpPrototypeRegExpExecCodeConstructAbility; |
| 677 | extern const char* const s_regExpPrototypeHasObservableSideEffectsForRegExpMatchCode; |
| 678 | extern const int s_regExpPrototypeHasObservableSideEffectsForRegExpMatchCodeLength; |
| 679 | extern const JSC::ConstructAbility s_regExpPrototypeHasObservableSideEffectsForRegExpMatchCodeConstructAbility; |
| 680 | extern const char* const s_regExpPrototypeMatchSlowCode; |
| 681 | extern const int s_regExpPrototypeMatchSlowCodeLength; |
| 682 | extern const JSC::ConstructAbility s_regExpPrototypeMatchSlowCodeConstructAbility; |
| 683 | extern const char* const s_regExpPrototypeMatchCode; |
| 684 | extern const int s_regExpPrototypeMatchCodeLength; |
| 685 | extern const JSC::ConstructAbility s_regExpPrototypeMatchCodeConstructAbility; |
| 686 | extern const char* const s_regExpPrototypeReplaceCode; |
| 687 | extern const int s_regExpPrototypeReplaceCodeLength; |
| 688 | extern const JSC::ConstructAbility s_regExpPrototypeReplaceCodeConstructAbility; |
| 689 | extern const char* const s_regExpPrototypeSearchCode; |
| 690 | extern const int s_regExpPrototypeSearchCodeLength; |
| 691 | extern const JSC::ConstructAbility s_regExpPrototypeSearchCodeConstructAbility; |
| 692 | extern const char* const s_regExpPrototypeHasObservableSideEffectsForRegExpSplitCode; |
| 693 | extern const int s_regExpPrototypeHasObservableSideEffectsForRegExpSplitCodeLength; |
| 694 | extern const JSC::ConstructAbility s_regExpPrototypeHasObservableSideEffectsForRegExpSplitCodeConstructAbility; |
| 695 | extern const char* const s_regExpPrototypeSplitCode; |
| 696 | extern const int s_regExpPrototypeSplitCodeLength; |
| 697 | extern const JSC::ConstructAbility s_regExpPrototypeSplitCodeConstructAbility; |
| 698 | extern const char* const s_regExpPrototypeTestCode; |
| 699 | extern const int s_regExpPrototypeTestCodeLength; |
| 700 | extern const JSC::ConstructAbility s_regExpPrototypeTestCodeConstructAbility; |
| 701 | |
| 702 | #define JSC_FOREACH_REGEXPPROTOTYPE_BUILTIN_DATA(macro) \ |
| 703 | macro(advanceStringIndex, regExpPrototypeAdvanceStringIndex, 3) \ |
| 704 | macro(regExpExec, regExpPrototypeRegExpExec, 2) \ |
| 705 | macro(hasObservableSideEffectsForRegExpMatch, regExpPrototypeHasObservableSideEffectsForRegExpMatch, 1) \ |
| 706 | macro(matchSlow, regExpPrototypeMatchSlow, 2) \ |
| 707 | macro(match, regExpPrototypeMatch, 1) \ |
| 708 | macro(replace, regExpPrototypeReplace, 2) \ |
| 709 | macro(search, regExpPrototypeSearch, 1) \ |
| 710 | macro(hasObservableSideEffectsForRegExpSplit, regExpPrototypeHasObservableSideEffectsForRegExpSplit, 1) \ |
| 711 | macro(split, regExpPrototypeSplit, 2) \ |
| 712 | macro(test, regExpPrototypeTest, 1) \ |
| 713 | |
| 714 | /* SetIteratorPrototype */ |
| 715 | extern const char* const s_setIteratorPrototypeSetIteratorNextCode; |
| 716 | extern const int s_setIteratorPrototypeSetIteratorNextCodeLength; |
| 717 | extern const JSC::ConstructAbility s_setIteratorPrototypeSetIteratorNextCodeConstructAbility; |
| 718 | extern const char* const s_setIteratorPrototypeNextCode; |
| 719 | extern const int s_setIteratorPrototypeNextCodeLength; |
| 720 | extern const JSC::ConstructAbility s_setIteratorPrototypeNextCodeConstructAbility; |
| 721 | |
| 722 | #define JSC_FOREACH_SETITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 723 | macro(setIteratorNext, setIteratorPrototypeSetIteratorNext, 2) \ |
| 724 | macro(next, setIteratorPrototypeNext, 0) \ |
| 725 | |
| 726 | /* SetPrototype */ |
| 727 | extern const char* const s_setPrototypeCreateSetIteratorConstructorCode; |
| 728 | extern const int s_setPrototypeCreateSetIteratorConstructorCodeLength; |
| 729 | extern const JSC::ConstructAbility s_setPrototypeCreateSetIteratorConstructorCodeConstructAbility; |
| 730 | extern const char* const s_setPrototypeValuesCode; |
| 731 | extern const int s_setPrototypeValuesCodeLength; |
| 732 | extern const JSC::ConstructAbility s_setPrototypeValuesCodeConstructAbility; |
| 733 | extern const char* const s_setPrototypeEntriesCode; |
| 734 | extern const int s_setPrototypeEntriesCodeLength; |
| 735 | extern const JSC::ConstructAbility s_setPrototypeEntriesCodeConstructAbility; |
| 736 | extern const char* const s_setPrototypeForEachCode; |
| 737 | extern const int s_setPrototypeForEachCodeLength; |
| 738 | extern const JSC::ConstructAbility s_setPrototypeForEachCodeConstructAbility; |
| 739 | |
| 740 | #define JSC_FOREACH_SETPROTOTYPE_BUILTIN_DATA(macro) \ |
| 741 | macro(createSetIterator, setPrototypeCreateSetIteratorConstructor, 2) \ |
| 742 | macro(values, setPrototypeValues, 0) \ |
| 743 | macro(entries, setPrototypeEntries, 0) \ |
| 744 | macro(forEach, setPrototypeForEach, 1) \ |
| 745 | |
| 746 | /* StringConstructor */ |
| 747 | extern const char* const s_stringConstructorRawCode; |
| 748 | extern const int s_stringConstructorRawCodeLength; |
| 749 | extern const JSC::ConstructAbility s_stringConstructorRawCodeConstructAbility; |
| 750 | |
| 751 | #define JSC_FOREACH_STRINGCONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 752 | macro(raw, stringConstructorRaw, 1) \ |
| 753 | |
| 754 | /* StringIteratorPrototype */ |
| 755 | extern const char* const s_stringIteratorPrototypeNextCode; |
| 756 | extern const int s_stringIteratorPrototypeNextCodeLength; |
| 757 | extern const JSC::ConstructAbility s_stringIteratorPrototypeNextCodeConstructAbility; |
| 758 | |
| 759 | #define JSC_FOREACH_STRINGITERATORPROTOTYPE_BUILTIN_DATA(macro) \ |
| 760 | macro(next, stringIteratorPrototypeNext, 0) \ |
| 761 | |
| 762 | /* StringPrototype */ |
| 763 | extern const char* const s_stringPrototypeMatchCode; |
| 764 | extern const int s_stringPrototypeMatchCodeLength; |
| 765 | extern const JSC::ConstructAbility s_stringPrototypeMatchCodeConstructAbility; |
| 766 | extern const char* const s_stringPrototypeRepeatSlowPathCode; |
| 767 | extern const int s_stringPrototypeRepeatSlowPathCodeLength; |
| 768 | extern const JSC::ConstructAbility s_stringPrototypeRepeatSlowPathCodeConstructAbility; |
| 769 | extern const char* const ; |
| 770 | extern const int ; |
| 771 | extern const JSC::ConstructAbility ; |
| 772 | extern const char* const s_stringPrototypeRepeatCode; |
| 773 | extern const int s_stringPrototypeRepeatCodeLength; |
| 774 | extern const JSC::ConstructAbility s_stringPrototypeRepeatCodeConstructAbility; |
| 775 | extern const char* const s_stringPrototypePadStartCode; |
| 776 | extern const int s_stringPrototypePadStartCodeLength; |
| 777 | extern const JSC::ConstructAbility s_stringPrototypePadStartCodeConstructAbility; |
| 778 | extern const char* const s_stringPrototypePadEndCode; |
| 779 | extern const int s_stringPrototypePadEndCodeLength; |
| 780 | extern const JSC::ConstructAbility s_stringPrototypePadEndCodeConstructAbility; |
| 781 | extern const char* const s_stringPrototypeHasObservableSideEffectsForStringReplaceCode; |
| 782 | extern const int s_stringPrototypeHasObservableSideEffectsForStringReplaceCodeLength; |
| 783 | extern const JSC::ConstructAbility s_stringPrototypeHasObservableSideEffectsForStringReplaceCodeConstructAbility; |
| 784 | extern const char* const s_stringPrototypeReplaceCode; |
| 785 | extern const int s_stringPrototypeReplaceCodeLength; |
| 786 | extern const JSC::ConstructAbility s_stringPrototypeReplaceCodeConstructAbility; |
| 787 | extern const char* const s_stringPrototypeSearchCode; |
| 788 | extern const int s_stringPrototypeSearchCodeLength; |
| 789 | extern const JSC::ConstructAbility s_stringPrototypeSearchCodeConstructAbility; |
| 790 | extern const char* const s_stringPrototypeSplitCode; |
| 791 | extern const int s_stringPrototypeSplitCodeLength; |
| 792 | extern const JSC::ConstructAbility s_stringPrototypeSplitCodeConstructAbility; |
| 793 | extern const char* const s_stringPrototypeStringConcatSlowPathCode; |
| 794 | extern const int s_stringPrototypeStringConcatSlowPathCodeLength; |
| 795 | extern const JSC::ConstructAbility s_stringPrototypeStringConcatSlowPathCodeConstructAbility; |
| 796 | extern const char* const s_stringPrototypeConcatCode; |
| 797 | extern const int s_stringPrototypeConcatCodeLength; |
| 798 | extern const JSC::ConstructAbility s_stringPrototypeConcatCodeConstructAbility; |
| 799 | extern const char* const s_stringPrototypeCreateHTMLCode; |
| 800 | extern const int s_stringPrototypeCreateHTMLCodeLength; |
| 801 | extern const JSC::ConstructAbility s_stringPrototypeCreateHTMLCodeConstructAbility; |
| 802 | extern const char* const s_stringPrototypeAnchorCode; |
| 803 | extern const int s_stringPrototypeAnchorCodeLength; |
| 804 | extern const JSC::ConstructAbility s_stringPrototypeAnchorCodeConstructAbility; |
| 805 | extern const char* const s_stringPrototypeBigCode; |
| 806 | extern const int s_stringPrototypeBigCodeLength; |
| 807 | extern const JSC::ConstructAbility s_stringPrototypeBigCodeConstructAbility; |
| 808 | extern const char* const s_stringPrototypeBlinkCode; |
| 809 | extern const int s_stringPrototypeBlinkCodeLength; |
| 810 | extern const JSC::ConstructAbility s_stringPrototypeBlinkCodeConstructAbility; |
| 811 | extern const char* const s_stringPrototypeBoldCode; |
| 812 | extern const int s_stringPrototypeBoldCodeLength; |
| 813 | extern const JSC::ConstructAbility s_stringPrototypeBoldCodeConstructAbility; |
| 814 | extern const char* const s_stringPrototypeFixedCode; |
| 815 | extern const int s_stringPrototypeFixedCodeLength; |
| 816 | extern const JSC::ConstructAbility s_stringPrototypeFixedCodeConstructAbility; |
| 817 | extern const char* const s_stringPrototypeFontcolorCode; |
| 818 | extern const int s_stringPrototypeFontcolorCodeLength; |
| 819 | extern const JSC::ConstructAbility s_stringPrototypeFontcolorCodeConstructAbility; |
| 820 | extern const char* const s_stringPrototypeFontsizeCode; |
| 821 | extern const int s_stringPrototypeFontsizeCodeLength; |
| 822 | extern const JSC::ConstructAbility s_stringPrototypeFontsizeCodeConstructAbility; |
| 823 | extern const char* const s_stringPrototypeItalicsCode; |
| 824 | extern const int s_stringPrototypeItalicsCodeLength; |
| 825 | extern const JSC::ConstructAbility s_stringPrototypeItalicsCodeConstructAbility; |
| 826 | extern const char* const s_stringPrototypeLinkCode; |
| 827 | extern const int s_stringPrototypeLinkCodeLength; |
| 828 | extern const JSC::ConstructAbility s_stringPrototypeLinkCodeConstructAbility; |
| 829 | extern const char* const s_stringPrototypeSmallCode; |
| 830 | extern const int s_stringPrototypeSmallCodeLength; |
| 831 | extern const JSC::ConstructAbility s_stringPrototypeSmallCodeConstructAbility; |
| 832 | extern const char* const s_stringPrototypeStrikeCode; |
| 833 | extern const int s_stringPrototypeStrikeCodeLength; |
| 834 | extern const JSC::ConstructAbility s_stringPrototypeStrikeCodeConstructAbility; |
| 835 | extern const char* const s_stringPrototypeSubCode; |
| 836 | extern const int s_stringPrototypeSubCodeLength; |
| 837 | extern const JSC::ConstructAbility s_stringPrototypeSubCodeConstructAbility; |
| 838 | extern const char* const s_stringPrototypeSupCode; |
| 839 | extern const int s_stringPrototypeSupCodeLength; |
| 840 | extern const JSC::ConstructAbility s_stringPrototypeSupCodeConstructAbility; |
| 841 | |
| 842 | #define JSC_FOREACH_STRINGPROTOTYPE_BUILTIN_DATA(macro) \ |
| 843 | macro(match, stringPrototypeMatch, 1) \ |
| 844 | macro(repeatSlowPath, stringPrototypeRepeatSlowPath, 2) \ |
| 845 | macro(repeatCharactersSlowPath, stringPrototypeRepeatCharactersSlowPath, 2) \ |
| 846 | macro(repeat, stringPrototypeRepeat, 1) \ |
| 847 | macro(padStart, stringPrototypePadStart, 1) \ |
| 848 | macro(padEnd, stringPrototypePadEnd, 1) \ |
| 849 | macro(hasObservableSideEffectsForStringReplace, stringPrototypeHasObservableSideEffectsForStringReplace, 2) \ |
| 850 | macro(replace, stringPrototypeReplace, 2) \ |
| 851 | macro(search, stringPrototypeSearch, 1) \ |
| 852 | macro(split, stringPrototypeSplit, 2) \ |
| 853 | macro(stringConcatSlowPath, stringPrototypeStringConcatSlowPath, 0) \ |
| 854 | macro(concat, stringPrototypeConcat, 1) \ |
| 855 | macro(createHTML, stringPrototypeCreateHTML, 5) \ |
| 856 | macro(anchor, stringPrototypeAnchor, 1) \ |
| 857 | macro(big, stringPrototypeBig, 0) \ |
| 858 | macro(blink, stringPrototypeBlink, 0) \ |
| 859 | macro(bold, stringPrototypeBold, 0) \ |
| 860 | macro(fixed, stringPrototypeFixed, 0) \ |
| 861 | macro(fontcolor, stringPrototypeFontcolor, 1) \ |
| 862 | macro(fontsize, stringPrototypeFontsize, 1) \ |
| 863 | macro(italics, stringPrototypeItalics, 0) \ |
| 864 | macro(link, stringPrototypeLink, 1) \ |
| 865 | macro(small, stringPrototypeSmall, 0) \ |
| 866 | macro(strike, stringPrototypeStrike, 0) \ |
| 867 | macro(sub, stringPrototypeSub, 0) \ |
| 868 | macro(sup, stringPrototypeSup, 0) \ |
| 869 | |
| 870 | /* TypedArrayConstructor */ |
| 871 | extern const char* const s_typedArrayConstructorOfCode; |
| 872 | extern const int s_typedArrayConstructorOfCodeLength; |
| 873 | extern const JSC::ConstructAbility s_typedArrayConstructorOfCodeConstructAbility; |
| 874 | extern const char* const s_typedArrayConstructorFromCode; |
| 875 | extern const int s_typedArrayConstructorFromCodeLength; |
| 876 | extern const JSC::ConstructAbility s_typedArrayConstructorFromCodeConstructAbility; |
| 877 | extern const char* const s_typedArrayConstructorAllocateInt8ArrayCode; |
| 878 | extern const int s_typedArrayConstructorAllocateInt8ArrayCodeLength; |
| 879 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateInt8ArrayCodeConstructAbility; |
| 880 | extern const char* const s_typedArrayConstructorAllocateInt16ArrayCode; |
| 881 | extern const int s_typedArrayConstructorAllocateInt16ArrayCodeLength; |
| 882 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateInt16ArrayCodeConstructAbility; |
| 883 | extern const char* const s_typedArrayConstructorAllocateInt32ArrayCode; |
| 884 | extern const int s_typedArrayConstructorAllocateInt32ArrayCodeLength; |
| 885 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateInt32ArrayCodeConstructAbility; |
| 886 | extern const char* const s_typedArrayConstructorAllocateUint32ArrayCode; |
| 887 | extern const int s_typedArrayConstructorAllocateUint32ArrayCodeLength; |
| 888 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateUint32ArrayCodeConstructAbility; |
| 889 | extern const char* const s_typedArrayConstructorAllocateUint16ArrayCode; |
| 890 | extern const int s_typedArrayConstructorAllocateUint16ArrayCodeLength; |
| 891 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateUint16ArrayCodeConstructAbility; |
| 892 | extern const char* const s_typedArrayConstructorAllocateUint8ArrayCode; |
| 893 | extern const int s_typedArrayConstructorAllocateUint8ArrayCodeLength; |
| 894 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateUint8ArrayCodeConstructAbility; |
| 895 | extern const char* const s_typedArrayConstructorAllocateUint8ClampedArrayCode; |
| 896 | extern const int s_typedArrayConstructorAllocateUint8ClampedArrayCodeLength; |
| 897 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateUint8ClampedArrayCodeConstructAbility; |
| 898 | extern const char* const s_typedArrayConstructorAllocateFloat32ArrayCode; |
| 899 | extern const int s_typedArrayConstructorAllocateFloat32ArrayCodeLength; |
| 900 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateFloat32ArrayCodeConstructAbility; |
| 901 | extern const char* const s_typedArrayConstructorAllocateFloat64ArrayCode; |
| 902 | extern const int s_typedArrayConstructorAllocateFloat64ArrayCodeLength; |
| 903 | extern const JSC::ConstructAbility s_typedArrayConstructorAllocateFloat64ArrayCodeConstructAbility; |
| 904 | |
| 905 | #define JSC_FOREACH_TYPEDARRAYCONSTRUCTOR_BUILTIN_DATA(macro) \ |
| 906 | macro(of, typedArrayConstructorOf, 0) \ |
| 907 | macro(from, typedArrayConstructorFrom, 1) \ |
| 908 | macro(allocateInt8Array, typedArrayConstructorAllocateInt8Array, 1) \ |
| 909 | macro(allocateInt16Array, typedArrayConstructorAllocateInt16Array, 1) \ |
| 910 | macro(allocateInt32Array, typedArrayConstructorAllocateInt32Array, 1) \ |
| 911 | macro(allocateUint32Array, typedArrayConstructorAllocateUint32Array, 1) \ |
| 912 | macro(allocateUint16Array, typedArrayConstructorAllocateUint16Array, 1) \ |
| 913 | macro(allocateUint8Array, typedArrayConstructorAllocateUint8Array, 1) \ |
| 914 | macro(allocateUint8ClampedArray, typedArrayConstructorAllocateUint8ClampedArray, 1) \ |
| 915 | macro(allocateFloat32Array, typedArrayConstructorAllocateFloat32Array, 1) \ |
| 916 | macro(allocateFloat64Array, typedArrayConstructorAllocateFloat64Array, 1) \ |
| 917 | |
| 918 | /* TypedArrayPrototype */ |
| 919 | extern const char* const s_typedArrayPrototypeTypedArraySpeciesConstructorCode; |
| 920 | extern const int s_typedArrayPrototypeTypedArraySpeciesConstructorCodeLength; |
| 921 | extern const JSC::ConstructAbility s_typedArrayPrototypeTypedArraySpeciesConstructorCodeConstructAbility; |
| 922 | extern const char* const s_typedArrayPrototypeTypedArrayClampArgumentToStartOrEndCode; |
| 923 | extern const int s_typedArrayPrototypeTypedArrayClampArgumentToStartOrEndCodeLength; |
| 924 | extern const JSC::ConstructAbility s_typedArrayPrototypeTypedArrayClampArgumentToStartOrEndCodeConstructAbility; |
| 925 | extern const char* const s_typedArrayPrototypeValuesCode; |
| 926 | extern const int s_typedArrayPrototypeValuesCodeLength; |
| 927 | extern const JSC::ConstructAbility s_typedArrayPrototypeValuesCodeConstructAbility; |
| 928 | extern const char* const s_typedArrayPrototypeKeysCode; |
| 929 | extern const int s_typedArrayPrototypeKeysCodeLength; |
| 930 | extern const JSC::ConstructAbility s_typedArrayPrototypeKeysCodeConstructAbility; |
| 931 | extern const char* const s_typedArrayPrototypeEntriesCode; |
| 932 | extern const int s_typedArrayPrototypeEntriesCodeLength; |
| 933 | extern const JSC::ConstructAbility s_typedArrayPrototypeEntriesCodeConstructAbility; |
| 934 | extern const char* const s_typedArrayPrototypeEveryCode; |
| 935 | extern const int s_typedArrayPrototypeEveryCodeLength; |
| 936 | extern const JSC::ConstructAbility s_typedArrayPrototypeEveryCodeConstructAbility; |
| 937 | extern const char* const s_typedArrayPrototypeFillCode; |
| 938 | extern const int s_typedArrayPrototypeFillCodeLength; |
| 939 | extern const JSC::ConstructAbility s_typedArrayPrototypeFillCodeConstructAbility; |
| 940 | extern const char* const s_typedArrayPrototypeFindCode; |
| 941 | extern const int s_typedArrayPrototypeFindCodeLength; |
| 942 | extern const JSC::ConstructAbility s_typedArrayPrototypeFindCodeConstructAbility; |
| 943 | extern const char* const s_typedArrayPrototypeFindIndexCode; |
| 944 | extern const int s_typedArrayPrototypeFindIndexCodeLength; |
| 945 | extern const JSC::ConstructAbility s_typedArrayPrototypeFindIndexCodeConstructAbility; |
| 946 | extern const char* const s_typedArrayPrototypeForEachCode; |
| 947 | extern const int s_typedArrayPrototypeForEachCodeLength; |
| 948 | extern const JSC::ConstructAbility s_typedArrayPrototypeForEachCodeConstructAbility; |
| 949 | extern const char* const s_typedArrayPrototypeSomeCode; |
| 950 | extern const int s_typedArrayPrototypeSomeCodeLength; |
| 951 | extern const JSC::ConstructAbility s_typedArrayPrototypeSomeCodeConstructAbility; |
| 952 | extern const char* const s_typedArrayPrototypeSortCode; |
| 953 | extern const int s_typedArrayPrototypeSortCodeLength; |
| 954 | extern const JSC::ConstructAbility s_typedArrayPrototypeSortCodeConstructAbility; |
| 955 | extern const char* const s_typedArrayPrototypeSubarrayCode; |
| 956 | extern const int s_typedArrayPrototypeSubarrayCodeLength; |
| 957 | extern const JSC::ConstructAbility s_typedArrayPrototypeSubarrayCodeConstructAbility; |
| 958 | extern const char* const s_typedArrayPrototypeReduceCode; |
| 959 | extern const int s_typedArrayPrototypeReduceCodeLength; |
| 960 | extern const JSC::ConstructAbility s_typedArrayPrototypeReduceCodeConstructAbility; |
| 961 | extern const char* const s_typedArrayPrototypeReduceRightCode; |
| 962 | extern const int s_typedArrayPrototypeReduceRightCodeLength; |
| 963 | extern const JSC::ConstructAbility s_typedArrayPrototypeReduceRightCodeConstructAbility; |
| 964 | extern const char* const s_typedArrayPrototypeMapCode; |
| 965 | extern const int s_typedArrayPrototypeMapCodeLength; |
| 966 | extern const JSC::ConstructAbility s_typedArrayPrototypeMapCodeConstructAbility; |
| 967 | extern const char* const s_typedArrayPrototypeFilterCode; |
| 968 | extern const int s_typedArrayPrototypeFilterCodeLength; |
| 969 | extern const JSC::ConstructAbility s_typedArrayPrototypeFilterCodeConstructAbility; |
| 970 | extern const char* const s_typedArrayPrototypeToLocaleStringCode; |
| 971 | extern const int s_typedArrayPrototypeToLocaleStringCodeLength; |
| 972 | extern const JSC::ConstructAbility s_typedArrayPrototypeToLocaleStringCodeConstructAbility; |
| 973 | |
| 974 | #define JSC_FOREACH_TYPEDARRAYPROTOTYPE_BUILTIN_DATA(macro) \ |
| 975 | macro(typedArraySpeciesConstructor, typedArrayPrototypeTypedArraySpeciesConstructor, 1) \ |
| 976 | macro(typedArrayClampArgumentToStartOrEnd, typedArrayPrototypeTypedArrayClampArgumentToStartOrEnd, 3) \ |
| 977 | macro(values, typedArrayPrototypeValues, 0) \ |
| 978 | macro(keys, typedArrayPrototypeKeys, 0) \ |
| 979 | macro(entries, typedArrayPrototypeEntries, 0) \ |
| 980 | macro(every, typedArrayPrototypeEvery, 1) \ |
| 981 | macro(fill, typedArrayPrototypeFill, 1) \ |
| 982 | macro(find, typedArrayPrototypeFind, 1) \ |
| 983 | macro(findIndex, typedArrayPrototypeFindIndex, 1) \ |
| 984 | macro(forEach, typedArrayPrototypeForEach, 1) \ |
| 985 | macro(some, typedArrayPrototypeSome, 1) \ |
| 986 | macro(sort, typedArrayPrototypeSort, 1) \ |
| 987 | macro(subarray, typedArrayPrototypeSubarray, 2) \ |
| 988 | macro(reduce, typedArrayPrototypeReduce, 1) \ |
| 989 | macro(reduceRight, typedArrayPrototypeReduceRight, 1) \ |
| 990 | macro(map, typedArrayPrototypeMap, 1) \ |
| 991 | macro(filter, typedArrayPrototypeFilter, 1) \ |
| 992 | macro(toLocaleString, typedArrayPrototypeToLocaleString, 0) \ |
| 993 | |
| 994 | /* WebAssemblyPrototype */ |
| 995 | extern const char* const s_webAssemblyPrototypeCompileStreamingCode; |
| 996 | extern const int s_webAssemblyPrototypeCompileStreamingCodeLength; |
| 997 | extern const JSC::ConstructAbility s_webAssemblyPrototypeCompileStreamingCodeConstructAbility; |
| 998 | extern const char* const s_webAssemblyPrototypeInstantiateStreamingCode; |
| 999 | extern const int s_webAssemblyPrototypeInstantiateStreamingCodeLength; |
| 1000 | extern const JSC::ConstructAbility s_webAssemblyPrototypeInstantiateStreamingCodeConstructAbility; |
| 1001 | |
| 1002 | #define JSC_FOREACH_WEBASSEMBLYPROTOTYPE_BUILTIN_DATA(macro) \ |
| 1003 | macro(compileStreaming, webAssemblyPrototypeCompileStreaming, 1) \ |
| 1004 | macro(instantiateStreaming, webAssemblyPrototypeInstantiateStreaming, 1) \ |
| 1005 | |
| 1006 | #define JSC_FOREACH_BUILTIN_CODE(macro) \ |
| 1007 | macro(asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructorCode, AsyncFromSyncIteratorConstructor, static_cast<const char*>(nullptr), s_asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructorCodeLength) \ |
| 1008 | macro(regExpPrototypeAdvanceStringIndexCode, advanceStringIndex, static_cast<const char*>(nullptr), s_regExpPrototypeAdvanceStringIndexCodeLength) \ |
| 1009 | macro(promiseConstructorAllCode, all, static_cast<const char*>(nullptr), s_promiseConstructorAllCodeLength) \ |
| 1010 | macro(typedArrayConstructorAllocateFloat32ArrayCode, allocateFloat32Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateFloat32ArrayCodeLength) \ |
| 1011 | macro(typedArrayConstructorAllocateFloat64ArrayCode, allocateFloat64Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateFloat64ArrayCodeLength) \ |
| 1012 | macro(typedArrayConstructorAllocateInt16ArrayCode, allocateInt16Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateInt16ArrayCodeLength) \ |
| 1013 | macro(typedArrayConstructorAllocateInt32ArrayCode, allocateInt32Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateInt32ArrayCodeLength) \ |
| 1014 | macro(typedArrayConstructorAllocateInt8ArrayCode, allocateInt8Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateInt8ArrayCodeLength) \ |
| 1015 | macro(typedArrayConstructorAllocateUint16ArrayCode, allocateUint16Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateUint16ArrayCodeLength) \ |
| 1016 | macro(typedArrayConstructorAllocateUint32ArrayCode, allocateUint32Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateUint32ArrayCodeLength) \ |
| 1017 | macro(typedArrayConstructorAllocateUint8ArrayCode, allocateUint8Array, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateUint8ArrayCodeLength) \ |
| 1018 | macro(typedArrayConstructorAllocateUint8ClampedArrayCode, allocateUint8ClampedArray, static_cast<const char*>(nullptr), s_typedArrayConstructorAllocateUint8ClampedArrayCodeLength) \ |
| 1019 | macro(stringPrototypeAnchorCode, anchor, static_cast<const char*>(nullptr), s_stringPrototypeAnchorCodeLength) \ |
| 1020 | macro(functionPrototypeApplyCode, apply, static_cast<const char*>(nullptr), s_functionPrototypeApplyCodeLength) \ |
| 1021 | macro(reflectObjectApplyCode, apply, static_cast<const char*>(nullptr), s_reflectObjectApplyCodeLength) \ |
| 1022 | macro(arrayIteratorPrototypeArrayIteratorKeyNextCode, arrayIteratorKeyNext, static_cast<const char*>(nullptr), s_arrayIteratorPrototypeArrayIteratorKeyNextCodeLength) \ |
| 1023 | macro(arrayIteratorPrototypeArrayIteratorKeyValueNextCode, arrayIteratorKeyValueNext, static_cast<const char*>(nullptr), s_arrayIteratorPrototypeArrayIteratorKeyValueNextCodeLength) \ |
| 1024 | macro(arrayIteratorPrototypeArrayIteratorValueNextCode, arrayIteratorValueNext, static_cast<const char*>(nullptr), s_arrayIteratorPrototypeArrayIteratorValueNextCodeLength) \ |
| 1025 | macro(arrayPrototypeArraySpeciesCreateCode, arraySpeciesCreate, static_cast<const char*>(nullptr), s_arrayPrototypeArraySpeciesCreateCodeLength) \ |
| 1026 | macro(asyncFunctionPrototypeAsyncFunctionResumeCode, asyncFunctionResume, static_cast<const char*>(nullptr), s_asyncFunctionPrototypeAsyncFunctionResumeCodeLength) \ |
| 1027 | macro(asyncGeneratorPrototypeAsyncGeneratorDequeueCode, asyncGeneratorDequeue, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorDequeueCodeLength) \ |
| 1028 | macro(asyncGeneratorPrototypeAsyncGeneratorEnqueueCode, asyncGeneratorEnqueue, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorEnqueueCodeLength) \ |
| 1029 | macro(asyncGeneratorPrototypeAsyncGeneratorQueueDequeueCode, asyncGeneratorQueueDequeue, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorQueueDequeueCodeLength) \ |
| 1030 | macro(asyncGeneratorPrototypeAsyncGeneratorQueueEnqueueCode, asyncGeneratorQueueEnqueue, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorQueueEnqueueCodeLength) \ |
| 1031 | macro(asyncGeneratorPrototypeAsyncGeneratorQueueIsEmptyCode, asyncGeneratorQueueIsEmpty, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorQueueIsEmptyCodeLength) \ |
| 1032 | macro(asyncGeneratorPrototypeAsyncGeneratorRejectCode, asyncGeneratorReject, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorRejectCodeLength) \ |
| 1033 | macro(asyncGeneratorPrototypeAsyncGeneratorResolveCode, asyncGeneratorResolve, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorResolveCodeLength) \ |
| 1034 | macro(asyncGeneratorPrototypeAsyncGeneratorResumeNextCode, asyncGeneratorResumeNext, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorResumeNextCodeLength) \ |
| 1035 | macro(asyncGeneratorPrototypeAsyncGeneratorYieldCode, asyncGeneratorYield, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAsyncGeneratorYieldCodeLength) \ |
| 1036 | macro(asyncGeneratorPrototypeAwaitValueCode, awaitValue, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeAwaitValueCodeLength) \ |
| 1037 | macro(stringPrototypeBigCode, big, static_cast<const char*>(nullptr), s_stringPrototypeBigCodeLength) \ |
| 1038 | macro(functionPrototypeBindCode, bind, static_cast<const char*>(nullptr), s_functionPrototypeBindCodeLength) \ |
| 1039 | macro(stringPrototypeBlinkCode, blink, static_cast<const char*>(nullptr), s_stringPrototypeBlinkCodeLength) \ |
| 1040 | macro(stringPrototypeBoldCode, bold, static_cast<const char*>(nullptr), s_stringPrototypeBoldCodeLength) \ |
| 1041 | macro(functionPrototypeCallCode, call, static_cast<const char*>(nullptr), s_functionPrototypeCallCodeLength) \ |
| 1042 | macro(promisePrototypeCatchCode, catch, static_cast<const char*>(nullptr), s_promisePrototypeCatchCodeLength) \ |
| 1043 | macro(webAssemblyPrototypeCompileStreamingCode, compileStreaming, static_cast<const char*>(nullptr), s_webAssemblyPrototypeCompileStreamingCodeLength) \ |
| 1044 | macro(arrayPrototypeConcatCode, concat, static_cast<const char*>(nullptr), s_arrayPrototypeConcatCodeLength) \ |
| 1045 | macro(stringPrototypeConcatCode, concat, static_cast<const char*>(nullptr), s_stringPrototypeConcatCodeLength) \ |
| 1046 | macro(arrayPrototypeConcatSlowPathCode, concatSlowPath, static_cast<const char*>(nullptr), s_arrayPrototypeConcatSlowPathCodeLength) \ |
| 1047 | macro(globalOperationsCopyDataPropertiesCode, copyDataProperties, static_cast<const char*>(nullptr), s_globalOperationsCopyDataPropertiesCodeLength) \ |
| 1048 | macro(globalOperationsCopyDataPropertiesNoExclusionsCode, copyDataPropertiesNoExclusions, static_cast<const char*>(nullptr), s_globalOperationsCopyDataPropertiesNoExclusionsCodeLength) \ |
| 1049 | macro(arrayPrototypeCopyWithinCode, copyWithin, static_cast<const char*>(nullptr), s_arrayPrototypeCopyWithinCodeLength) \ |
| 1050 | macro(arrayPrototypeCreateArrayIteratorConstructorCode, createArrayIterator, static_cast<const char*>(nullptr), s_arrayPrototypeCreateArrayIteratorConstructorCodeLength) \ |
| 1051 | macro(asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIteratorCode, createAsyncFromSyncIterator, static_cast<const char*>(nullptr), s_asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIteratorCodeLength) \ |
| 1052 | macro(stringPrototypeCreateHTMLCode, createHTML, static_cast<const char*>(nullptr), s_stringPrototypeCreateHTMLCodeLength) \ |
| 1053 | macro(mapPrototypeCreateMapIteratorConstructorCode, createMapIterator, static_cast<const char*>(nullptr), s_mapPrototypeCreateMapIteratorConstructorCodeLength) \ |
| 1054 | macro(promiseOperationsCreateResolvingFunctionsCode, createResolvingFunctions, static_cast<const char*>(nullptr), s_promiseOperationsCreateResolvingFunctionsCodeLength) \ |
| 1055 | macro(setPrototypeCreateSetIteratorConstructorCode, createSetIterator, static_cast<const char*>(nullptr), s_setPrototypeCreateSetIteratorConstructorCodeLength) \ |
| 1056 | macro(reflectObjectDeletePropertyCode, deleteProperty, static_cast<const char*>(nullptr), s_reflectObjectDeletePropertyCodeLength) \ |
| 1057 | macro(asyncGeneratorPrototypeDoAsyncGeneratorBodyCallCode, doAsyncGeneratorBodyCall, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeDoAsyncGeneratorBodyCallCodeLength) \ |
| 1058 | macro(moduleLoaderEnsureRegisteredCode, ensureRegistered, static_cast<const char*>(nullptr), s_moduleLoaderEnsureRegisteredCodeLength) \ |
| 1059 | macro(arrayPrototypeEntriesCode, entries, static_cast<const char*>(nullptr), s_arrayPrototypeEntriesCodeLength) \ |
| 1060 | macro(mapPrototypeEntriesCode, entries, static_cast<const char*>(nullptr), s_mapPrototypeEntriesCodeLength) \ |
| 1061 | macro(objectConstructorEntriesCode, entries, static_cast<const char*>(nullptr), s_objectConstructorEntriesCodeLength) \ |
| 1062 | macro(setPrototypeEntriesCode, entries, static_cast<const char*>(nullptr), s_setPrototypeEntriesCodeLength) \ |
| 1063 | macro(typedArrayPrototypeEntriesCode, entries, static_cast<const char*>(nullptr), s_typedArrayPrototypeEntriesCodeLength) \ |
| 1064 | macro(arrayPrototypeEveryCode, every, static_cast<const char*>(nullptr), s_arrayPrototypeEveryCodeLength) \ |
| 1065 | macro(typedArrayPrototypeEveryCode, every, static_cast<const char*>(nullptr), s_typedArrayPrototypeEveryCodeLength) \ |
| 1066 | macro(arrayPrototypeFillCode, fill, static_cast<const char*>(nullptr), s_arrayPrototypeFillCodeLength) \ |
| 1067 | macro(typedArrayPrototypeFillCode, fill, static_cast<const char*>(nullptr), s_typedArrayPrototypeFillCodeLength) \ |
| 1068 | macro(arrayPrototypeFilterCode, filter, static_cast<const char*>(nullptr), s_arrayPrototypeFilterCodeLength) \ |
| 1069 | macro(typedArrayPrototypeFilterCode, filter, static_cast<const char*>(nullptr), s_typedArrayPrototypeFilterCodeLength) \ |
| 1070 | macro(promisePrototypeFinallyCode, finally, static_cast<const char*>(nullptr), s_promisePrototypeFinallyCodeLength) \ |
| 1071 | macro(arrayPrototypeFindCode, find, static_cast<const char*>(nullptr), s_arrayPrototypeFindCodeLength) \ |
| 1072 | macro(typedArrayPrototypeFindCode, find, static_cast<const char*>(nullptr), s_typedArrayPrototypeFindCodeLength) \ |
| 1073 | macro(arrayPrototypeFindIndexCode, findIndex, static_cast<const char*>(nullptr), s_arrayPrototypeFindIndexCodeLength) \ |
| 1074 | macro(typedArrayPrototypeFindIndexCode, findIndex, static_cast<const char*>(nullptr), s_typedArrayPrototypeFindIndexCodeLength) \ |
| 1075 | macro(stringPrototypeFixedCode, fixed, static_cast<const char*>(nullptr), s_stringPrototypeFixedCodeLength) \ |
| 1076 | macro(arrayPrototypeFlatCode, flat, static_cast<const char*>(nullptr), s_arrayPrototypeFlatCodeLength) \ |
| 1077 | macro(arrayPrototypeFlatIntoArrayCode, flatIntoArray, static_cast<const char*>(nullptr), s_arrayPrototypeFlatIntoArrayCodeLength) \ |
| 1078 | macro(arrayPrototypeFlatIntoArrayWithCallbackCode, flatIntoArrayWithCallback, static_cast<const char*>(nullptr), s_arrayPrototypeFlatIntoArrayWithCallbackCodeLength) \ |
| 1079 | macro(arrayPrototypeFlatMapCode, flatMap, static_cast<const char*>(nullptr), s_arrayPrototypeFlatMapCodeLength) \ |
| 1080 | macro(stringPrototypeFontcolorCode, fontcolor, static_cast<const char*>(nullptr), s_stringPrototypeFontcolorCodeLength) \ |
| 1081 | macro(stringPrototypeFontsizeCode, fontsize, static_cast<const char*>(nullptr), s_stringPrototypeFontsizeCodeLength) \ |
| 1082 | macro(arrayPrototypeForEachCode, forEach, static_cast<const char*>(nullptr), s_arrayPrototypeForEachCodeLength) \ |
| 1083 | macro(mapPrototypeForEachCode, forEach, static_cast<const char*>(nullptr), s_mapPrototypeForEachCodeLength) \ |
| 1084 | macro(setPrototypeForEachCode, forEach, static_cast<const char*>(nullptr), s_setPrototypeForEachCodeLength) \ |
| 1085 | macro(typedArrayPrototypeForEachCode, forEach, static_cast<const char*>(nullptr), s_typedArrayPrototypeForEachCodeLength) \ |
| 1086 | macro(moduleLoaderForceFulfillPromiseCode, forceFulfillPromise, static_cast<const char*>(nullptr), s_moduleLoaderForceFulfillPromiseCodeLength) \ |
| 1087 | macro(arrayConstructorFromCode, from, static_cast<const char*>(nullptr), s_arrayConstructorFromCodeLength) \ |
| 1088 | macro(typedArrayConstructorFromCode, from, static_cast<const char*>(nullptr), s_typedArrayConstructorFromCodeLength) \ |
| 1089 | macro(objectConstructorFromEntriesCode, fromEntries, static_cast<const char*>(nullptr), s_objectConstructorFromEntriesCodeLength) \ |
| 1090 | macro(moduleLoaderFulfillFetchCode, fulfillFetch, static_cast<const char*>(nullptr), s_moduleLoaderFulfillFetchCodeLength) \ |
| 1091 | macro(promiseOperationsFulfillPromiseCode, fulfillPromise, static_cast<const char*>(nullptr), s_promiseOperationsFulfillPromiseCodeLength) \ |
| 1092 | macro(generatorPrototypeGeneratorResumeCode, generatorResume, static_cast<const char*>(nullptr), s_generatorPrototypeGeneratorResumeCodeLength) \ |
| 1093 | macro(promisePrototypeGetCatchFinallyCode, getCatchFinally, static_cast<const char*>(nullptr), s_promisePrototypeGetCatchFinallyCodeLength) \ |
| 1094 | macro(promisePrototypeGetThenFinallyCode, getThenFinally, static_cast<const char*>(nullptr), s_promisePrototypeGetThenFinallyCodeLength) \ |
| 1095 | macro(reflectObjectHasCode, has, static_cast<const char*>(nullptr), s_reflectObjectHasCodeLength) \ |
| 1096 | macro(regExpPrototypeHasObservableSideEffectsForRegExpMatchCode, hasObservableSideEffectsForRegExpMatch, static_cast<const char*>(nullptr), s_regExpPrototypeHasObservableSideEffectsForRegExpMatchCodeLength) \ |
| 1097 | macro(regExpPrototypeHasObservableSideEffectsForRegExpSplitCode, hasObservableSideEffectsForRegExpSplit, static_cast<const char*>(nullptr), s_regExpPrototypeHasObservableSideEffectsForRegExpSplitCodeLength) \ |
| 1098 | macro(stringPrototypeHasObservableSideEffectsForStringReplaceCode, hasObservableSideEffectsForStringReplace, static_cast<const char*>(nullptr), s_stringPrototypeHasObservableSideEffectsForStringReplaceCodeLength) \ |
| 1099 | macro(arrayPrototypeIncludesCode, includes, static_cast<const char*>(nullptr), s_arrayPrototypeIncludesCodeLength) \ |
| 1100 | macro(promiseOperationsInitializePromiseCode, initializePromise, static_cast<const char*>(nullptr), s_promiseOperationsInitializePromiseCodeLength) \ |
| 1101 | macro(webAssemblyPrototypeInstantiateStreamingCode, instantiateStreaming, static_cast<const char*>(nullptr), s_webAssemblyPrototypeInstantiateStreamingCodeLength) \ |
| 1102 | macro(internalPromiseConstructorInternalAllCode, internalAll, static_cast<const char*>(nullptr), s_internalPromiseConstructorInternalAllCodeLength) \ |
| 1103 | macro(arrayConstructorIsArrayCode, isArray, static_cast<const char*>(nullptr), s_arrayConstructorIsArrayCodeLength) \ |
| 1104 | macro(globalOperationsIsDictionaryCode, isDictionary, static_cast<const char*>(nullptr), s_globalOperationsIsDictionaryCodeLength) \ |
| 1105 | macro(asyncGeneratorPrototypeIsExecutionStateCode, isExecutionState, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeIsExecutionStateCodeLength) \ |
| 1106 | macro(globalObjectIsFiniteCode, isFinite, static_cast<const char*>(nullptr), s_globalObjectIsFiniteCodeLength) \ |
| 1107 | macro(numberConstructorIsFiniteCode, isFinite, static_cast<const char*>(nullptr), s_numberConstructorIsFiniteCodeLength) \ |
| 1108 | macro(globalObjectIsNaNCode, isNaN, static_cast<const char*>(nullptr), s_globalObjectIsNaNCodeLength) \ |
| 1109 | macro(numberConstructorIsNaNCode, isNaN, static_cast<const char*>(nullptr), s_numberConstructorIsNaNCodeLength) \ |
| 1110 | macro(promiseOperationsIsPromiseCode, isPromise, static_cast<const char*>(nullptr), s_promiseOperationsIsPromiseCodeLength) \ |
| 1111 | macro(asyncGeneratorPrototypeIsSuspendYieldStateCode, isSuspendYieldState, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeIsSuspendYieldStateCodeLength) \ |
| 1112 | macro(stringPrototypeItalicsCode, italics, static_cast<const char*>(nullptr), s_stringPrototypeItalicsCodeLength) \ |
| 1113 | macro(arrayPrototypeKeysCode, keys, static_cast<const char*>(nullptr), s_arrayPrototypeKeysCodeLength) \ |
| 1114 | macro(mapPrototypeKeysCode, keys, static_cast<const char*>(nullptr), s_mapPrototypeKeysCodeLength) \ |
| 1115 | macro(typedArrayPrototypeKeysCode, keys, static_cast<const char*>(nullptr), s_typedArrayPrototypeKeysCodeLength) \ |
| 1116 | macro(moduleLoaderLinkCode, link, static_cast<const char*>(nullptr), s_moduleLoaderLinkCodeLength) \ |
| 1117 | macro(stringPrototypeLinkCode, link, static_cast<const char*>(nullptr), s_stringPrototypeLinkCodeLength) \ |
| 1118 | macro(moduleLoaderLinkAndEvaluateModuleCode, linkAndEvaluateModule, static_cast<const char*>(nullptr), s_moduleLoaderLinkAndEvaluateModuleCodeLength) \ |
| 1119 | macro(moduleLoaderLoadAndEvaluateModuleCode, loadAndEvaluateModule, static_cast<const char*>(nullptr), s_moduleLoaderLoadAndEvaluateModuleCodeLength) \ |
| 1120 | macro(moduleLoaderLoadModuleCode, loadModule, static_cast<const char*>(nullptr), s_moduleLoaderLoadModuleCodeLength) \ |
| 1121 | macro(arrayPrototypeMapCode, map, static_cast<const char*>(nullptr), s_arrayPrototypeMapCodeLength) \ |
| 1122 | macro(typedArrayPrototypeMapCode, map, static_cast<const char*>(nullptr), s_typedArrayPrototypeMapCodeLength) \ |
| 1123 | macro(mapIteratorPrototypeMapIteratorNextCode, mapIteratorNext, static_cast<const char*>(nullptr), s_mapIteratorPrototypeMapIteratorNextCodeLength) \ |
| 1124 | macro(regExpPrototypeMatchCode, match, "[Symbol.match]", s_regExpPrototypeMatchCodeLength) \ |
| 1125 | macro(stringPrototypeMatchCode, match, static_cast<const char*>(nullptr), s_stringPrototypeMatchCodeLength) \ |
| 1126 | macro(regExpPrototypeMatchSlowCode, matchSlow, static_cast<const char*>(nullptr), s_regExpPrototypeMatchSlowCodeLength) \ |
| 1127 | macro(moduleLoaderModuleEvaluationCode, moduleEvaluation, static_cast<const char*>(nullptr), s_moduleLoaderModuleEvaluationCodeLength) \ |
| 1128 | macro(promiseOperationsNewHandledRejectedPromiseCode, newHandledRejectedPromise, static_cast<const char*>(nullptr), s_promiseOperationsNewHandledRejectedPromiseCodeLength) \ |
| 1129 | macro(promiseOperationsNewPromiseCapabilityCode, newPromiseCapability, static_cast<const char*>(nullptr), s_promiseOperationsNewPromiseCapabilityCodeLength) \ |
| 1130 | macro(promiseOperationsNewPromiseReactionCode, newPromiseReaction, static_cast<const char*>(nullptr), s_promiseOperationsNewPromiseReactionCodeLength) \ |
| 1131 | macro(moduleLoaderNewRegistryEntryCode, newRegistryEntry, static_cast<const char*>(nullptr), s_moduleLoaderNewRegistryEntryCodeLength) \ |
| 1132 | macro(arrayIteratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_arrayIteratorPrototypeNextCodeLength) \ |
| 1133 | macro(asyncFromSyncIteratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_asyncFromSyncIteratorPrototypeNextCodeLength) \ |
| 1134 | macro(asyncGeneratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeNextCodeLength) \ |
| 1135 | macro(generatorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_generatorPrototypeNextCodeLength) \ |
| 1136 | macro(mapIteratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_mapIteratorPrototypeNextCodeLength) \ |
| 1137 | macro(setIteratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_setIteratorPrototypeNextCodeLength) \ |
| 1138 | macro(stringIteratorPrototypeNextCode, next, static_cast<const char*>(nullptr), s_stringIteratorPrototypeNextCodeLength) \ |
| 1139 | macro(arrayConstructorOfCode, of, static_cast<const char*>(nullptr), s_arrayConstructorOfCodeLength) \ |
| 1140 | macro(typedArrayConstructorOfCode, of, static_cast<const char*>(nullptr), s_typedArrayConstructorOfCodeLength) \ |
| 1141 | macro(stringPrototypePadEndCode, padEnd, static_cast<const char*>(nullptr), s_stringPrototypePadEndCodeLength) \ |
| 1142 | macro(stringPrototypePadStartCode, padStart, static_cast<const char*>(nullptr), s_stringPrototypePadStartCodeLength) \ |
| 1143 | macro(iteratorHelpersPerformIterationCode, performIteration, static_cast<const char*>(nullptr), s_iteratorHelpersPerformIterationCodeLength) \ |
| 1144 | macro(inspectorInstrumentationObjectPromiseFulfilledCode, promiseFulfilled, static_cast<const char*>(nullptr), s_inspectorInstrumentationObjectPromiseFulfilledCodeLength) \ |
| 1145 | macro(promiseOperationsPromiseReactionJobCode, promiseReactionJob, static_cast<const char*>(nullptr), s_promiseOperationsPromiseReactionJobCodeLength) \ |
| 1146 | macro(inspectorInstrumentationObjectPromiseRejectedCode, promiseRejected, static_cast<const char*>(nullptr), s_inspectorInstrumentationObjectPromiseRejectedCodeLength) \ |
| 1147 | macro(promiseOperationsPromiseResolveThenableJobCode, promiseResolveThenableJob, static_cast<const char*>(nullptr), s_promiseOperationsPromiseResolveThenableJobCodeLength) \ |
| 1148 | macro(moduleLoaderProvideFetchCode, provideFetch, static_cast<const char*>(nullptr), s_moduleLoaderProvideFetchCodeLength) \ |
| 1149 | macro(promiseConstructorRaceCode, race, static_cast<const char*>(nullptr), s_promiseConstructorRaceCodeLength) \ |
| 1150 | macro(stringConstructorRawCode, raw, static_cast<const char*>(nullptr), s_stringConstructorRawCodeLength) \ |
| 1151 | macro(arrayPrototypeReduceCode, reduce, static_cast<const char*>(nullptr), s_arrayPrototypeReduceCodeLength) \ |
| 1152 | macro(typedArrayPrototypeReduceCode, reduce, static_cast<const char*>(nullptr), s_typedArrayPrototypeReduceCodeLength) \ |
| 1153 | macro(arrayPrototypeReduceRightCode, reduceRight, static_cast<const char*>(nullptr), s_arrayPrototypeReduceRightCodeLength) \ |
| 1154 | macro(typedArrayPrototypeReduceRightCode, reduceRight, static_cast<const char*>(nullptr), s_typedArrayPrototypeReduceRightCodeLength) \ |
| 1155 | macro(regExpPrototypeRegExpExecCode, regExpExec, static_cast<const char*>(nullptr), s_regExpPrototypeRegExpExecCodeLength) \ |
| 1156 | macro(promiseConstructorRejectCode, reject, static_cast<const char*>(nullptr), s_promiseConstructorRejectCodeLength) \ |
| 1157 | macro(promiseOperationsRejectPromiseCode, rejectPromise, static_cast<const char*>(nullptr), s_promiseOperationsRejectPromiseCodeLength) \ |
| 1158 | macro(stringPrototypeRepeatCode, repeat, static_cast<const char*>(nullptr), s_stringPrototypeRepeatCodeLength) \ |
| 1159 | macro(stringPrototypeRepeatCharactersSlowPathCode, repeatCharactersSlowPath, static_cast<const char*>(nullptr), s_stringPrototypeRepeatCharactersSlowPathCodeLength) \ |
| 1160 | macro(stringPrototypeRepeatSlowPathCode, repeatSlowPath, static_cast<const char*>(nullptr), s_stringPrototypeRepeatSlowPathCodeLength) \ |
| 1161 | macro(regExpPrototypeReplaceCode, replace, "[Symbol.replace]", s_regExpPrototypeReplaceCodeLength) \ |
| 1162 | macro(stringPrototypeReplaceCode, replace, static_cast<const char*>(nullptr), s_stringPrototypeReplaceCodeLength) \ |
| 1163 | macro(moduleLoaderRequestFetchCode, requestFetch, static_cast<const char*>(nullptr), s_moduleLoaderRequestFetchCodeLength) \ |
| 1164 | macro(moduleLoaderRequestImportModuleCode, requestImportModule, static_cast<const char*>(nullptr), s_moduleLoaderRequestImportModuleCodeLength) \ |
| 1165 | macro(moduleLoaderRequestInstantiateCode, requestInstantiate, static_cast<const char*>(nullptr), s_moduleLoaderRequestInstantiateCodeLength) \ |
| 1166 | macro(moduleLoaderRequestSatisfyCode, requestSatisfy, static_cast<const char*>(nullptr), s_moduleLoaderRequestSatisfyCodeLength) \ |
| 1167 | macro(promiseConstructorResolveCode, resolve, static_cast<const char*>(nullptr), s_promiseConstructorResolveCodeLength) \ |
| 1168 | macro(asyncFromSyncIteratorPrototypeReturnCode, return, static_cast<const char*>(nullptr), s_asyncFromSyncIteratorPrototypeReturnCodeLength) \ |
| 1169 | macro(asyncGeneratorPrototypeReturnCode, return, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeReturnCodeLength) \ |
| 1170 | macro(generatorPrototypeReturnCode, return, static_cast<const char*>(nullptr), s_generatorPrototypeReturnCodeLength) \ |
| 1171 | macro(regExpPrototypeSearchCode, search, "[Symbol.search]", s_regExpPrototypeSearchCodeLength) \ |
| 1172 | macro(stringPrototypeSearchCode, search, static_cast<const char*>(nullptr), s_stringPrototypeSearchCodeLength) \ |
| 1173 | macro(setIteratorPrototypeSetIteratorNextCode, setIteratorNext, static_cast<const char*>(nullptr), s_setIteratorPrototypeSetIteratorNextCodeLength) \ |
| 1174 | macro(moduleLoaderSetStateToMaxCode, setStateToMax, static_cast<const char*>(nullptr), s_moduleLoaderSetStateToMaxCodeLength) \ |
| 1175 | macro(stringPrototypeSmallCode, small, static_cast<const char*>(nullptr), s_stringPrototypeSmallCodeLength) \ |
| 1176 | macro(arrayPrototypeSomeCode, some, static_cast<const char*>(nullptr), s_arrayPrototypeSomeCodeLength) \ |
| 1177 | macro(typedArrayPrototypeSomeCode, some, static_cast<const char*>(nullptr), s_typedArrayPrototypeSomeCodeLength) \ |
| 1178 | macro(arrayPrototypeSortCode, sort, static_cast<const char*>(nullptr), s_arrayPrototypeSortCodeLength) \ |
| 1179 | macro(typedArrayPrototypeSortCode, sort, static_cast<const char*>(nullptr), s_typedArrayPrototypeSortCodeLength) \ |
| 1180 | macro(globalOperationsSpeciesConstructorCode, speciesConstructor, static_cast<const char*>(nullptr), s_globalOperationsSpeciesConstructorCodeLength) \ |
| 1181 | macro(globalOperationsSpeciesGetterCode, speciesGetter, "get [Symbol.species]", s_globalOperationsSpeciesGetterCodeLength) \ |
| 1182 | macro(regExpPrototypeSplitCode, split, "[Symbol.split]", s_regExpPrototypeSplitCodeLength) \ |
| 1183 | macro(stringPrototypeSplitCode, split, static_cast<const char*>(nullptr), s_stringPrototypeSplitCodeLength) \ |
| 1184 | macro(stringPrototypeStrikeCode, strike, static_cast<const char*>(nullptr), s_stringPrototypeStrikeCodeLength) \ |
| 1185 | macro(stringPrototypeStringConcatSlowPathCode, stringConcatSlowPath, static_cast<const char*>(nullptr), s_stringPrototypeStringConcatSlowPathCodeLength) \ |
| 1186 | macro(stringPrototypeSubCode, sub, static_cast<const char*>(nullptr), s_stringPrototypeSubCodeLength) \ |
| 1187 | macro(typedArrayPrototypeSubarrayCode, subarray, static_cast<const char*>(nullptr), s_typedArrayPrototypeSubarrayCodeLength) \ |
| 1188 | macro(stringPrototypeSupCode, sup, static_cast<const char*>(nullptr), s_stringPrototypeSupCodeLength) \ |
| 1189 | macro(asyncIteratorPrototypeSymbolAsyncIteratorGetterCode, symbolAsyncIteratorGetter, "[Symbol.asyncIterator]", s_asyncIteratorPrototypeSymbolAsyncIteratorGetterCodeLength) \ |
| 1190 | macro(functionPrototypeSymbolHasInstanceCode, symbolHasInstance, "[Symbol.hasInstance]", s_functionPrototypeSymbolHasInstanceCodeLength) \ |
| 1191 | macro(iteratorPrototypeSymbolIteratorGetterCode, symbolIteratorGetter, "[Symbol.iterator]", s_iteratorPrototypeSymbolIteratorGetterCodeLength) \ |
| 1192 | macro(regExpPrototypeTestCode, test, static_cast<const char*>(nullptr), s_regExpPrototypeTestCodeLength) \ |
| 1193 | macro(promisePrototypeThenCode, then, static_cast<const char*>(nullptr), s_promisePrototypeThenCodeLength) \ |
| 1194 | macro(asyncFromSyncIteratorPrototypeThrowCode, throw, static_cast<const char*>(nullptr), s_asyncFromSyncIteratorPrototypeThrowCodeLength) \ |
| 1195 | macro(asyncGeneratorPrototypeThrowCode, throw, static_cast<const char*>(nullptr), s_asyncGeneratorPrototypeThrowCodeLength) \ |
| 1196 | macro(generatorPrototypeThrowCode, throw, static_cast<const char*>(nullptr), s_generatorPrototypeThrowCodeLength) \ |
| 1197 | macro(globalOperationsToIntegerCode, toInteger, static_cast<const char*>(nullptr), s_globalOperationsToIntegerCodeLength) \ |
| 1198 | macro(globalOperationsToLengthCode, toLength, static_cast<const char*>(nullptr), s_globalOperationsToLengthCodeLength) \ |
| 1199 | macro(datePrototypeToLocaleDateStringCode, toLocaleDateString, static_cast<const char*>(nullptr), s_datePrototypeToLocaleDateStringCodeLength) \ |
| 1200 | macro(datePrototypeToLocaleStringCode, toLocaleString, static_cast<const char*>(nullptr), s_datePrototypeToLocaleStringCodeLength) \ |
| 1201 | macro(typedArrayPrototypeToLocaleStringCode, toLocaleString, static_cast<const char*>(nullptr), s_typedArrayPrototypeToLocaleStringCodeLength) \ |
| 1202 | macro(datePrototypeToLocaleTimeStringCode, toLocaleTimeString, static_cast<const char*>(nullptr), s_datePrototypeToLocaleTimeStringCodeLength) \ |
| 1203 | macro(promiseOperationsTriggerPromiseReactionsCode, triggerPromiseReactions, static_cast<const char*>(nullptr), s_promiseOperationsTriggerPromiseReactionsCodeLength) \ |
| 1204 | macro(typedArrayPrototypeTypedArrayClampArgumentToStartOrEndCode, typedArrayClampArgumentToStartOrEnd, static_cast<const char*>(nullptr), s_typedArrayPrototypeTypedArrayClampArgumentToStartOrEndCodeLength) \ |
| 1205 | macro(typedArrayPrototypeTypedArraySpeciesConstructorCode, typedArraySpeciesConstructor, static_cast<const char*>(nullptr), s_typedArrayPrototypeTypedArraySpeciesConstructorCodeLength) \ |
| 1206 | macro(arrayPrototypeValuesCode, values, static_cast<const char*>(nullptr), s_arrayPrototypeValuesCodeLength) \ |
| 1207 | macro(mapPrototypeValuesCode, values, static_cast<const char*>(nullptr), s_mapPrototypeValuesCodeLength) \ |
| 1208 | macro(setPrototypeValuesCode, values, static_cast<const char*>(nullptr), s_setPrototypeValuesCodeLength) \ |
| 1209 | macro(typedArrayPrototypeValuesCode, values, static_cast<const char*>(nullptr), s_typedArrayPrototypeValuesCodeLength) \ |
| 1210 | |
| 1211 | #define JSC_FOREACH_BUILTIN_FUNCTION_NAME(macro) \ |
| 1212 | macro(AsyncFromSyncIteratorConstructor) \ |
| 1213 | macro(advanceStringIndex) \ |
| 1214 | macro(all) \ |
| 1215 | macro(allocateFloat32Array) \ |
| 1216 | macro(allocateFloat64Array) \ |
| 1217 | macro(allocateInt16Array) \ |
| 1218 | macro(allocateInt32Array) \ |
| 1219 | macro(allocateInt8Array) \ |
| 1220 | macro(allocateUint16Array) \ |
| 1221 | macro(allocateUint32Array) \ |
| 1222 | macro(allocateUint8Array) \ |
| 1223 | macro(allocateUint8ClampedArray) \ |
| 1224 | macro(anchor) \ |
| 1225 | macro(apply) \ |
| 1226 | macro(arrayIteratorKeyNext) \ |
| 1227 | macro(arrayIteratorKeyValueNext) \ |
| 1228 | macro(arrayIteratorValueNext) \ |
| 1229 | macro(arraySpeciesCreate) \ |
| 1230 | macro(asyncFunctionResume) \ |
| 1231 | macro(asyncGeneratorDequeue) \ |
| 1232 | macro(asyncGeneratorEnqueue) \ |
| 1233 | macro(asyncGeneratorQueueDequeue) \ |
| 1234 | macro(asyncGeneratorQueueEnqueue) \ |
| 1235 | macro(asyncGeneratorQueueIsEmpty) \ |
| 1236 | macro(asyncGeneratorReject) \ |
| 1237 | macro(asyncGeneratorResolve) \ |
| 1238 | macro(asyncGeneratorResumeNext) \ |
| 1239 | macro(asyncGeneratorYield) \ |
| 1240 | macro(awaitValue) \ |
| 1241 | macro(big) \ |
| 1242 | macro(bind) \ |
| 1243 | macro(blink) \ |
| 1244 | macro(bold) \ |
| 1245 | macro(call) \ |
| 1246 | macro(catch) \ |
| 1247 | macro(compileStreaming) \ |
| 1248 | macro(concat) \ |
| 1249 | macro(concatSlowPath) \ |
| 1250 | macro(copyDataProperties) \ |
| 1251 | macro(copyDataPropertiesNoExclusions) \ |
| 1252 | macro(copyWithin) \ |
| 1253 | macro(createArrayIterator) \ |
| 1254 | macro(createAsyncFromSyncIterator) \ |
| 1255 | macro(createHTML) \ |
| 1256 | macro(createMapIterator) \ |
| 1257 | macro(createResolvingFunctions) \ |
| 1258 | macro(createSetIterator) \ |
| 1259 | macro(deleteProperty) \ |
| 1260 | macro(doAsyncGeneratorBodyCall) \ |
| 1261 | macro(ensureRegistered) \ |
| 1262 | macro(entries) \ |
| 1263 | macro(every) \ |
| 1264 | macro(fill) \ |
| 1265 | macro(filter) \ |
| 1266 | macro(finally) \ |
| 1267 | macro(find) \ |
| 1268 | macro(findIndex) \ |
| 1269 | macro(fixed) \ |
| 1270 | macro(flat) \ |
| 1271 | macro(flatIntoArray) \ |
| 1272 | macro(flatIntoArrayWithCallback) \ |
| 1273 | macro(flatMap) \ |
| 1274 | macro(fontcolor) \ |
| 1275 | macro(fontsize) \ |
| 1276 | macro(forEach) \ |
| 1277 | macro(forceFulfillPromise) \ |
| 1278 | macro(from) \ |
| 1279 | macro(fromEntries) \ |
| 1280 | macro(fulfillFetch) \ |
| 1281 | macro(fulfillPromise) \ |
| 1282 | macro(generatorResume) \ |
| 1283 | macro(getCatchFinally) \ |
| 1284 | macro(getThenFinally) \ |
| 1285 | macro(has) \ |
| 1286 | macro(hasObservableSideEffectsForRegExpMatch) \ |
| 1287 | macro(hasObservableSideEffectsForRegExpSplit) \ |
| 1288 | macro(hasObservableSideEffectsForStringReplace) \ |
| 1289 | macro(includes) \ |
| 1290 | macro(initializePromise) \ |
| 1291 | macro(instantiateStreaming) \ |
| 1292 | macro(internalAll) \ |
| 1293 | macro(isArray) \ |
| 1294 | macro(isDictionary) \ |
| 1295 | macro(isExecutionState) \ |
| 1296 | macro(isFinite) \ |
| 1297 | macro(isNaN) \ |
| 1298 | macro(isPromise) \ |
| 1299 | macro(isSuspendYieldState) \ |
| 1300 | macro(italics) \ |
| 1301 | macro(keys) \ |
| 1302 | macro(link) \ |
| 1303 | macro(linkAndEvaluateModule) \ |
| 1304 | macro(loadAndEvaluateModule) \ |
| 1305 | macro(loadModule) \ |
| 1306 | macro(map) \ |
| 1307 | macro(mapIteratorNext) \ |
| 1308 | macro(match) \ |
| 1309 | macro(matchSlow) \ |
| 1310 | macro(moduleEvaluation) \ |
| 1311 | macro(newHandledRejectedPromise) \ |
| 1312 | macro(newPromiseCapability) \ |
| 1313 | macro(newPromiseReaction) \ |
| 1314 | macro(newRegistryEntry) \ |
| 1315 | macro(next) \ |
| 1316 | macro(of) \ |
| 1317 | macro(padEnd) \ |
| 1318 | macro(padStart) \ |
| 1319 | macro(performIteration) \ |
| 1320 | macro(promiseFulfilled) \ |
| 1321 | macro(promiseReactionJob) \ |
| 1322 | macro(promiseRejected) \ |
| 1323 | macro(promiseResolveThenableJob) \ |
| 1324 | macro(provideFetch) \ |
| 1325 | macro(race) \ |
| 1326 | macro(raw) \ |
| 1327 | macro(reduce) \ |
| 1328 | macro(reduceRight) \ |
| 1329 | macro(regExpExec) \ |
| 1330 | macro(reject) \ |
| 1331 | macro(rejectPromise) \ |
| 1332 | macro(repeat) \ |
| 1333 | macro(repeatCharactersSlowPath) \ |
| 1334 | macro(repeatSlowPath) \ |
| 1335 | macro(replace) \ |
| 1336 | macro(requestFetch) \ |
| 1337 | macro(requestImportModule) \ |
| 1338 | macro(requestInstantiate) \ |
| 1339 | macro(requestSatisfy) \ |
| 1340 | macro(resolve) \ |
| 1341 | macro(return) \ |
| 1342 | macro(search) \ |
| 1343 | macro(setIteratorNext) \ |
| 1344 | macro(setStateToMax) \ |
| 1345 | macro(small) \ |
| 1346 | macro(some) \ |
| 1347 | macro(sort) \ |
| 1348 | macro(speciesConstructor) \ |
| 1349 | macro(speciesGetter) \ |
| 1350 | macro(split) \ |
| 1351 | macro(strike) \ |
| 1352 | macro(stringConcatSlowPath) \ |
| 1353 | macro(sub) \ |
| 1354 | macro(subarray) \ |
| 1355 | macro(sup) \ |
| 1356 | macro(symbolAsyncIteratorGetter) \ |
| 1357 | macro(symbolHasInstance) \ |
| 1358 | macro(symbolIteratorGetter) \ |
| 1359 | macro(test) \ |
| 1360 | macro(then) \ |
| 1361 | macro(throw) \ |
| 1362 | macro(toInteger) \ |
| 1363 | macro(toLength) \ |
| 1364 | macro(toLocaleDateString) \ |
| 1365 | macro(toLocaleString) \ |
| 1366 | macro(toLocaleTimeString) \ |
| 1367 | macro(triggerPromiseReactions) \ |
| 1368 | macro(typedArrayClampArgumentToStartOrEnd) \ |
| 1369 | macro(typedArraySpeciesConstructor) \ |
| 1370 | macro(values) \ |
| 1371 | |
| 1372 | #define JSC_FOREACH_BUILTIN_FUNCTION_PRIVATE_GLOBAL_NAME(macro) \ |
| 1373 | macro(AsyncFromSyncIteratorConstructor, asyncFromSyncIteratorPrototypeAsyncFromSyncIteratorConstructorConstructor) \ |
| 1374 | macro(advanceStringIndex, regExpPrototypeAdvanceStringIndex) \ |
| 1375 | macro(arrayIteratorKeyNext, arrayIteratorPrototypeArrayIteratorKeyNext) \ |
| 1376 | macro(arrayIteratorKeyValueNext, arrayIteratorPrototypeArrayIteratorKeyValueNext) \ |
| 1377 | macro(arrayIteratorValueNext, arrayIteratorPrototypeArrayIteratorValueNext) \ |
| 1378 | macro(arraySpeciesCreate, arrayPrototypeArraySpeciesCreate) \ |
| 1379 | macro(asyncFunctionResume, asyncFunctionPrototypeAsyncFunctionResume) \ |
| 1380 | macro(asyncGeneratorDequeue, asyncGeneratorPrototypeAsyncGeneratorDequeue) \ |
| 1381 | macro(asyncGeneratorEnqueue, asyncGeneratorPrototypeAsyncGeneratorEnqueue) \ |
| 1382 | macro(asyncGeneratorQueueDequeue, asyncGeneratorPrototypeAsyncGeneratorQueueDequeue) \ |
| 1383 | macro(asyncGeneratorQueueEnqueue, asyncGeneratorPrototypeAsyncGeneratorQueueEnqueue) \ |
| 1384 | macro(asyncGeneratorQueueIsEmpty, asyncGeneratorPrototypeAsyncGeneratorQueueIsEmpty) \ |
| 1385 | macro(asyncGeneratorReject, asyncGeneratorPrototypeAsyncGeneratorReject) \ |
| 1386 | macro(asyncGeneratorResolve, asyncGeneratorPrototypeAsyncGeneratorResolve) \ |
| 1387 | macro(asyncGeneratorResumeNext, asyncGeneratorPrototypeAsyncGeneratorResumeNext) \ |
| 1388 | macro(asyncGeneratorYield, asyncGeneratorPrototypeAsyncGeneratorYield) \ |
| 1389 | macro(awaitValue, asyncGeneratorPrototypeAwaitValue) \ |
| 1390 | macro(concatSlowPath, arrayPrototypeConcatSlowPath) \ |
| 1391 | macro(copyDataProperties, globalOperationsCopyDataProperties) \ |
| 1392 | macro(copyDataPropertiesNoExclusions, globalOperationsCopyDataPropertiesNoExclusions) \ |
| 1393 | macro(createArrayIterator, arrayPrototypeCreateArrayIteratorConstructor) \ |
| 1394 | macro(createAsyncFromSyncIterator, asyncFromSyncIteratorPrototypeCreateAsyncFromSyncIterator) \ |
| 1395 | macro(createHTML, stringPrototypeCreateHTML) \ |
| 1396 | macro(createMapIterator, mapPrototypeCreateMapIteratorConstructor) \ |
| 1397 | macro(createResolvingFunctions, promiseOperationsCreateResolvingFunctions) \ |
| 1398 | macro(createSetIterator, setPrototypeCreateSetIteratorConstructor) \ |
| 1399 | macro(doAsyncGeneratorBodyCall, asyncGeneratorPrototypeDoAsyncGeneratorBodyCall) \ |
| 1400 | macro(flatIntoArray, arrayPrototypeFlatIntoArray) \ |
| 1401 | macro(flatIntoArrayWithCallback, arrayPrototypeFlatIntoArrayWithCallback) \ |
| 1402 | macro(fulfillPromise, promiseOperationsFulfillPromise) \ |
| 1403 | macro(generatorResume, generatorPrototypeGeneratorResume) \ |
| 1404 | macro(getCatchFinally, promisePrototypeGetCatchFinally) \ |
| 1405 | macro(getThenFinally, promisePrototypeGetThenFinally) \ |
| 1406 | macro(hasObservableSideEffectsForRegExpMatch, regExpPrototypeHasObservableSideEffectsForRegExpMatch) \ |
| 1407 | macro(hasObservableSideEffectsForRegExpSplit, regExpPrototypeHasObservableSideEffectsForRegExpSplit) \ |
| 1408 | macro(hasObservableSideEffectsForStringReplace, stringPrototypeHasObservableSideEffectsForStringReplace) \ |
| 1409 | macro(initializePromise, promiseOperationsInitializePromise) \ |
| 1410 | macro(isDictionary, globalOperationsIsDictionary) \ |
| 1411 | macro(isExecutionState, asyncGeneratorPrototypeIsExecutionState) \ |
| 1412 | macro(isFinite, globalObjectIsFinite) \ |
| 1413 | macro(isNaN, globalObjectIsNaN) \ |
| 1414 | macro(isPromise, promiseOperationsIsPromise) \ |
| 1415 | macro(isSuspendYieldState, asyncGeneratorPrototypeIsSuspendYieldState) \ |
| 1416 | macro(mapIteratorNext, mapIteratorPrototypeMapIteratorNext) \ |
| 1417 | macro(matchSlow, regExpPrototypeMatchSlow) \ |
| 1418 | macro(newHandledRejectedPromise, promiseOperationsNewHandledRejectedPromise) \ |
| 1419 | macro(newPromiseCapability, promiseOperationsNewPromiseCapability) \ |
| 1420 | macro(newPromiseReaction, promiseOperationsNewPromiseReaction) \ |
| 1421 | macro(newRegistryEntry, moduleLoaderNewRegistryEntry) \ |
| 1422 | macro(promiseReactionJob, promiseOperationsPromiseReactionJob) \ |
| 1423 | macro(promiseResolveThenableJob, promiseOperationsPromiseResolveThenableJob) \ |
| 1424 | macro(regExpExec, regExpPrototypeRegExpExec) \ |
| 1425 | macro(rejectPromise, promiseOperationsRejectPromise) \ |
| 1426 | macro(repeatCharactersSlowPath, stringPrototypeRepeatCharactersSlowPath) \ |
| 1427 | macro(repeatSlowPath, stringPrototypeRepeatSlowPath) \ |
| 1428 | macro(setIteratorNext, setIteratorPrototypeSetIteratorNext) \ |
| 1429 | macro(setStateToMax, moduleLoaderSetStateToMax) \ |
| 1430 | macro(speciesConstructor, globalOperationsSpeciesConstructor) \ |
| 1431 | macro(stringConcatSlowPath, stringPrototypeStringConcatSlowPath) \ |
| 1432 | macro(toInteger, globalOperationsToInteger) \ |
| 1433 | macro(toLength, globalOperationsToLength) \ |
| 1434 | macro(triggerPromiseReactions, promiseOperationsTriggerPromiseReactions) \ |
| 1435 | macro(typedArrayClampArgumentToStartOrEnd, typedArrayPrototypeTypedArrayClampArgumentToStartOrEnd) \ |
| 1436 | macro(typedArraySpeciesConstructor, typedArrayPrototypeTypedArraySpeciesConstructor) \ |
| 1437 | |
| 1438 | #define DECLARE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \ |
| 1439 | JSC::FunctionExecutable* codeName##Generator(JSC::VM&); |
| 1440 | |
| 1441 | JSC_FOREACH_BUILTIN_CODE(DECLARE_BUILTIN_GENERATOR) |
| 1442 | #undef DECLARE_BUILTIN_GENERATOR |
| 1443 | |
| 1444 | } // namespace JSC |
| 1445 | |