summaryrefslogtreecommitdiffstats
path: root/js/src/vm/CommonPropertyNames.h
blob: 34294056e4c5634592624eaa365b0a3fa18acb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: set ts=8 sts=2 et sw=2 tw=80:
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* A higher-order macro for enumerating all cached property names. */

#ifndef vm_CommonPropertyNames_h
#define vm_CommonPropertyNames_h

// The following common atoms are reserved by the js::StaticStrigs /
// WellKnownParserAtoms::lookupTiny mechanisms. We still use a named reference
// for the parser and VM to use.
#define FOR_EACH_NON_EMPTY_TINY_PROPERTYNAME(MACRO) \
  MACRO(as, as, "as")                               \
  MACRO(at, at, "at")                               \
  MACRO(by, by, "by")                               \
  MACRO(comma, comma, ",")                          \
  MACRO(do, do_, "do")                              \
  MACRO(futexOK, futexOK, "ok")                     \
  MACRO(if, if_, "if")                              \
  MACRO(in, in, "in")                               \
  MACRO(js, js, "js")                               \
  MACRO(of, of, "of")                               \
  MACRO(star, star, "*")

#define FOR_EACH_TINY_PROPERTYNAME(MACRO) \
  MACRO(empty, empty, "")                 \
  FOR_EACH_NON_EMPTY_TINY_PROPERTYNAME(MACRO)

#define FOR_EACH_NONTINY_COMMON_PROPERTYNAME(MACRO)                            \
  MACRO(abort, abort, "abort")                                                 \
  MACRO(add, add, "add")                                                       \
  MACRO(allowContentIter, allowContentIter, "allowContentIter")                \
  MACRO(anonymous, anonymous, "anonymous")                                     \
  MACRO(Any, Any, "Any")                                                       \
  MACRO(apply, apply, "apply")                                                 \
  MACRO(args, args, "args")                                                    \
  MACRO(arguments, arguments, "arguments")                                     \
  MACRO(ArrayBufferSpecies, ArrayBufferSpecies, "$ArrayBufferSpecies")         \
  MACRO(ArrayIterator, ArrayIterator, "Array Iterator")                        \
  MACRO(ArrayIteratorNext, ArrayIteratorNext, "ArrayIteratorNext")             \
  MACRO(ArraySort, ArraySort, "ArraySort")                                     \
  MACRO(ArraySpecies, ArraySpecies, "$ArraySpecies")                           \
  MACRO(ArraySpeciesCreate, ArraySpeciesCreate, "ArraySpeciesCreate")          \
  MACRO(ArrayToLocaleString, ArrayToLocaleString, "ArrayToLocaleString")       \
  MACRO(ArrayType, ArrayType, "ArrayType")                                     \
  MACRO(ArrayValues, ArrayValues, "$ArrayValues")                              \
  MACRO(Async, Async, "Async")                                                 \
  MACRO(AsyncFromSyncIterator, AsyncFromSyncIterator,                          \
        "Async-from-Sync Iterator")                                            \
  MACRO(AsyncFunctionNext, AsyncFunctionNext, "AsyncFunctionNext")             \
  MACRO(AsyncFunctionThrow, AsyncFunctionThrow, "AsyncFunctionThrow")          \
  MACRO(AsyncGenerator, AsyncGenerator, "AsyncGenerator")                      \
  MACRO(AsyncGeneratorNext, AsyncGeneratorNext, "AsyncGeneratorNext")          \
  MACRO(AsyncGeneratorReturn, AsyncGeneratorReturn, "AsyncGeneratorReturn")    \
  MACRO(AsyncGeneratorThrow, AsyncGeneratorThrow, "AsyncGeneratorThrow")       \
  MACRO(AsyncWrapped, AsyncWrapped, "AsyncWrapped")                            \
  MACRO(async, async, "async")                                                 \
  MACRO(autoAllocateChunkSize, autoAllocateChunkSize, "autoAllocateChunkSize") \
  MACRO(await, await, "await")                                                 \
  MACRO(bigint64, bigint64, "bigint64")                                        \
  MACRO(biguint64, biguint64, "biguint64")                                     \
  MACRO(boundWithSpace, boundWithSpace, "bound ")                              \
  MACRO(break, break_, "break")                                                \
  MACRO(breakdown, breakdown, "breakdown")                                     \
  MACRO(buffer, buffer, "buffer")                                              \
  MACRO(builder, builder, "builder")                                           \
  MACRO(byob, byob, "byob")                                                    \
  MACRO(byteAlignment, byteAlignment, "byteAlignment")                         \
  MACRO(byteLength, byteLength, "byteLength")                                  \
  MACRO(byteOffset, byteOffset, "byteOffset")                                  \
  MACRO(bytes, bytes, "bytes")                                                 \
  MACRO(BYTES_PER_ELEMENT, BYTES_PER_ELEMENT, "BYTES_PER_ELEMENT")             \
  MACRO(calendar, calendar, "calendar")                                        \
  MACRO(call, call, "call")                                                    \
  MACRO(callContentFunction, callContentFunction, "callContentFunction")       \
  MACRO(callee, callee, "callee")                                              \
  MACRO(caller, caller, "caller")                                              \
  MACRO(callFunction, callFunction, "callFunction")                            \
  MACRO(cancel, cancel, "cancel")                                              \
  MACRO(case, case_, "case")                                                   \
  MACRO(caseFirst, caseFirst, "caseFirst")                                     \
  MACRO(catch, catch_, "catch")                                                \
  MACRO(class, class_, "class")                                                \
  MACRO(cleanupSome, cleanupSome, "cleanupSome")                               \
  MACRO(close, close, "close")                                                 \
  MACRO(collation, collation, "collation")                                     \
  MACRO(collections, collections, "collections")                               \
  MACRO(columnNumber, columnNumber, "columnNumber")                            \
  MACRO(compare, compare, "compare")                                           \
  MACRO(configurable, configurable, "configurable")                            \
  MACRO(const, const_, "const")                                                \
  MACRO(construct, construct, "construct")                                     \
  MACRO(constructContentFunction, constructContentFunction,                    \
        "constructContentFunction")                                            \
  MACRO(constructor, constructor, "constructor")                               \
  MACRO(continue, continue_, "continue")                                       \
  MACRO(CopyDataProperties, CopyDataProperties, "CopyDataProperties")          \
  MACRO(CopyDataPropertiesUnfiltered, CopyDataPropertiesUnfiltered,            \
        "CopyDataPropertiesUnfiltered")                                        \
  MACRO(copyWithin, copyWithin, "copyWithin")                                  \
  MACRO(compact, compact, "compact")                                           \
  MACRO(compactDisplay, compactDisplay, "compactDisplay")                      \
  MACRO(count, count, "count")                                                 \
  MACRO(CreateResolvingFunctions, CreateResolvingFunctions,                    \
        "CreateResolvingFunctions")                                            \
  MACRO(currency, currency, "currency")                                        \
  MACRO(currencyDisplay, currencyDisplay, "currencyDisplay")                   \
  MACRO(currencySign, currencySign, "currencySign")                            \
  MACRO(day, day, "day")                                                       \
  MACRO(dayPeriod, dayPeriod, "dayPeriod")                                     \
  MACRO(debugger, debugger, "debugger")                                        \
  MACRO(decimal, decimal, "decimal")                                           \
  MACRO(decodeURI, decodeURI, "decodeURI")                                     \
  MACRO(decodeURIComponent, decodeURIComponent, "decodeURIComponent")          \
  MACRO(DefaultBaseClassConstructor, DefaultBaseClassConstructor,              \
        "DefaultBaseClassConstructor")                                         \
  MACRO(DefaultDerivedClassConstructor, DefaultDerivedClassConstructor,        \
        "DefaultDerivedClassConstructor")                                      \
  MACRO(default, default_, "default")                                          \
  MACRO(defineGetter, defineGetter, "__defineGetter__")                        \
  MACRO(defineProperty, defineProperty, "defineProperty")                      \
  MACRO(defineSetter, defineSetter, "__defineSetter__")                        \
  MACRO(delete, delete_, "delete")                                             \
  MACRO(deleteProperty, deleteProperty, "deleteProperty")                      \
  MACRO(direction, direction, "direction")                                     \
  MACRO(displayURL, displayURL, "displayURL")                                  \
  MACRO(domNode, domNode, "domNode")                                           \
  MACRO(done, done, "done")                                                    \
  MACRO(dotAll, dotAll, "dotAll")                                              \
  MACRO(dotGenerator, dotGenerator, ".generator")                              \
  MACRO(dotThis, dotThis, ".this")                                             \
  MACRO(dotInitializers, dotInitializers, ".initializers")                     \
  MACRO(dotFieldKeys, dotFieldKeys, ".fieldKeys")                              \
  MACRO(dotStaticInitializers, dotStaticInitializers, ".staticInitializers")   \
  MACRO(dotStaticFieldKeys, dotStaticFieldKeys, ".staticFieldKeys")            \
  MACRO(each, each, "each")                                                    \
  MACRO(element, element, "element")                                           \
  MACRO(elementType, elementType, "elementType")                               \
  MACRO(else, else_, "else")                                                   \
  MACRO(emptyRegExp, emptyRegExp, "(?:)")                                      \
  MACRO(encodeURI, encodeURI, "encodeURI")                                     \
  MACRO(encodeURIComponent, encodeURIComponent, "encodeURIComponent")          \
  MACRO(endRange, endRange, "endRange")                                        \
  MACRO(endTimestamp, endTimestamp, "endTimestamp")                            \
  MACRO(entries, entries, "entries")                                           \
  MACRO(enum, enum_, "enum")                                                   \
  MACRO(enumerable, enumerable, "enumerable")                                  \
  MACRO(enumerate, enumerate, "enumerate")                                     \
  MACRO(era, era, "era")                                                       \
  MACRO(ErrorToStringWithTrailingNewline, ErrorToStringWithTrailingNewline,    \
        "ErrorToStringWithTrailingNewline")                                    \
  MACRO(errors, errors, "errors")                                              \
  MACRO(escape, escape, "escape")                                              \
  MACRO(eval, eval, "eval")                                                    \
  MACRO(exec, exec, "exec")                                                    \
  MACRO(exponentInteger, exponentInteger, "exponentInteger")                   \
  MACRO(exponentMinusSign, exponentMinusSign, "exponentMinusSign")             \
  MACRO(exponentSeparator, exponentSeparator, "exponentSeparator")             \
  MACRO(export, export_, "export")                                             \
  MACRO(extends, extends, "extends")                                           \
  MACRO(false, false_, "false")                                                \
  MACRO(fieldOffsets, fieldOffsets, "fieldOffsets")                            \
  MACRO(fieldTypes, fieldTypes, "fieldTypes")                                  \
  MACRO(fileName, fileName, "fileName")                                        \
  MACRO(fill, fill, "fill")                                                    \
  MACRO(finally, finally_, "finally")                                          \
  MACRO(find, find, "find")                                                    \
  MACRO(findIndex, findIndex, "findIndex")                                     \
  MACRO(firstDayOfWeek, firstDayOfWeek, "firstDayOfWeek")                      \
  MACRO(fix, fix, "fix")                                                       \
  MACRO(flags, flags, "flags")                                                 \
  MACRO(flat, flat, "flat")                                                    \
  MACRO(flatMap, flatMap, "flatMap")                                           \
  MACRO(float32, float32, "float32")                                           \
  MACRO(float64, float64, "float64")                                           \
    MACRO(for, for_, "for")                                                    \
  MACRO(forceInterpreter, forceInterpreter, "forceInterpreter")                \
  MACRO(forEach, forEach, "forEach")                                           \
  MACRO(format, format, "format")                                              \
  MACRO(fraction, fraction, "fraction")                                        \
  MACRO(fractionalSecond, fractionalSecond, "fractionalSecond")                \
  MACRO(frame, frame, "frame")                                                 \
  MACRO(from, from, "from")                                                    \
  MACRO(fulfilled, fulfilled, "fulfilled")                                     \
  MACRO(futexNotEqual, futexNotEqual, "not-equal")                             \
  MACRO(futexTimedOut, futexTimedOut, "timed-out")                             \
  MACRO(gcCycleNumber, gcCycleNumber, "gcCycleNumber")                         \
  MACRO(Generator, Generator, "Generator")                                     \
  MACRO(GeneratorNext, GeneratorNext, "GeneratorNext")                         \
  MACRO(GeneratorReturn, GeneratorReturn, "GeneratorReturn")                   \
  MACRO(GeneratorThrow, GeneratorThrow, "GeneratorThrow")                      \
  MACRO(get, get, "get")                                                       \
  MACRO(GetAggregateError, GetAggregateError, "GetAggregateError")             \
  MACRO(GetBuiltinConstructor, GetBuiltinConstructor, "GetBuiltinConstructor") \
  MACRO(GetBuiltinPrototype, GetBuiltinPrototype, "GetBuiltinPrototype")       \
  MACRO(GetInternalError, GetInternalError, "GetInternalError")                \
  MACRO(getBigInt64, getBigInt64, "getBigInt64")                               \
  MACRO(getBigUint64, getBigUint64, "getBigUint64")                            \
  MACRO(getInternals, getInternals, "getInternals")                            \
  MACRO(GetModuleNamespace, GetModuleNamespace, "GetModuleNamespace")          \
  MACRO(getOwnPropertyDescriptor, getOwnPropertyDescriptor,                    \
        "getOwnPropertyDescriptor")                                            \
  MACRO(getOwnPropertyNames, getOwnPropertyNames, "getOwnPropertyNames")       \
  MACRO(getPrefix, getPrefix, "get ")                                          \
  MACRO(getPropertySuper, getPropertySuper, "getPropertySuper")                \
  MACRO(getPrototypeOf, getPrototypeOf, "getPrototypeOf")                      \
  MACRO(GetTypeError, GetTypeError, "GetTypeError")                            \
  MACRO(global, global, "global")                                              \
  MACRO(globalThis, globalThis, "globalThis")                                  \
  MACRO(group, group, "group")                                                 \
  MACRO(groups, groups, "groups")                                              \
  MACRO(h11, h11, "h11")                                                       \
  MACRO(h12, h12, "h12")                                                       \
  MACRO(h23, h23, "h23")                                                       \
  MACRO(h24, h24, "h24")                                                       \
  MACRO(Handle, Handle, "Handle")                                              \
  MACRO(has, has, "has")                                                       \
  MACRO(hashConstructor, hashConstructor, "#constructor")                      \
  MACRO(hasOwn, hasOwn, "hasOwn")                                              \
  MACRO(hasOwnProperty, hasOwnProperty, "hasOwnProperty")                      \
  MACRO(highWaterMark, highWaterMark, "highWaterMark")                         \
  MACRO(hour, hour, "hour")                                                    \
  MACRO(hourCycle, hourCycle, "hourCycle")                                     \
  MACRO(ignoreCase, ignoreCase, "ignoreCase")                                  \
  MACRO(ignorePunctuation, ignorePunctuation, "ignorePunctuation")             \
  MACRO(implements, implements, "implements")                                  \
  MACRO(import, import, "import")                                              \
  MACRO(includes, includes, "includes")                                        \
  MACRO(incumbentGlobal, incumbentGlobal, "incumbentGlobal")                   \
  MACRO(index, index, "index")                                                 \
  MACRO(infinity, infinity, "infinity")                                        \
  MACRO(Infinity, Infinity, "Infinity")                                        \
  MACRO(initial, initial, "initial")                                           \
  MACRO(InitializeCollator, InitializeCollator, "InitializeCollator")          \
  MACRO(InitializeDateTimeFormat, InitializeDateTimeFormat,                    \
        "InitializeDateTimeFormat")                                            \
  MACRO(InitializeDisplayNames, InitializeDisplayNames,                        \
        "InitializeDisplayNames")                                              \
  MACRO(InitializeListFormat, InitializeListFormat, "InitializeListFormat")    \
  MACRO(InitializeLocale, InitializeLocale, "InitializeLocale")                \
  MACRO(InitializeNumberFormat, InitializeNumberFormat,                        \
        "InitializeNumberFormat")                                              \
  MACRO(InitializePluralRules, InitializePluralRules, "InitializePluralRules") \
  MACRO(InitializeRelativeTimeFormat, InitializeRelativeTimeFormat,            \
        "InitializeRelativeTimeFormat")                                        \
  MACRO(innermost, innermost, "innermost")                                     \
  MACRO(inNursery, inNursery, "inNursery")                                     \
  MACRO(input, input, "input")                                                 \
  MACRO(instanceof, instanceof, "instanceof")                                  \
  MACRO(int8, int8, "int8")                                                    \
  MACRO(int16, int16, "int16")                                                 \
  MACRO(int32, int32, "int32")                                                 \
  MACRO(integer, integer, "integer")                                           \
  MACRO(interface, interface, "interface")                                     \
  MACRO(InterpretGeneratorResume, InterpretGeneratorResume,                    \
        "InterpretGeneratorResume")                                            \
  MACRO(InvalidDate, InvalidDate, "Invalid Date")                              \
  MACRO(isBreakpoint, isBreakpoint, "isBreakpoint")                            \
  MACRO(isEntryPoint, isEntryPoint, "isEntryPoint")                            \
  MACRO(isExtensible, isExtensible, "isExtensible")                            \
  MACRO(isFinite, isFinite, "isFinite")                                        \
  MACRO(isNaN, isNaN, "isNaN")                                                 \
  MACRO(isPrototypeOf, isPrototypeOf, "isPrototypeOf")                         \
  MACRO(isStepStart, isStepStart, "isStepStart")                               \
  MACRO(IterableToList, IterableToList, "IterableToList")                      \
  MACRO(iterate, iterate, "iterate")                                           \
  MACRO(join, join, "join")                                                    \
  MACRO(keys, keys, "keys")                                                    \
  MACRO(label, label, "label")                                                 \
  MACRO(language, language, "language")                                        \
  MACRO(lastIndex, lastIndex, "lastIndex")                                     \
  MACRO(length, length, "length")                                              \
  MACRO(let, let, "let")                                                       \
  MACRO(line, line, "line")                                                    \
  MACRO(lineNumber, lineNumber, "lineNumber")                                  \
  MACRO(literal, literal, "literal")                                           \
  MACRO(loc, loc, "loc")                                                       \
  MACRO(locale, locale, "locale")                                              \
  MACRO(lookupGetter, lookupGetter, "__lookupGetter__")                        \
  MACRO(lookupSetter, lookupSetter, "__lookupSetter__")                        \
  MACRO(ltr, ltr, "ltr")                                                       \
  MACRO(MapConstructorInit, MapConstructorInit, "MapConstructorInit")          \
  MACRO(MapIterator, MapIterator, "Map Iterator")                              \
  MACRO(maxColumn, maxColumn, "maxColumn")                                     \
  MACRO(maximum, maximum, "maximum")                                           \
  MACRO(maximumFractionDigits, maximumFractionDigits, "maximumFractionDigits") \
  MACRO(maximumSignificantDigits, maximumSignificantDigits,                    \
        "maximumSignificantDigits")                                            \
  MACRO(maxLine, maxLine, "maxLine")                                           \
  MACRO(maxOffset, maxOffset, "maxOffset")                                     \
  MACRO(message, message, "message")                                           \
  MACRO(meta, meta, "meta")                                                    \
  MACRO(minColumn, minColumn, "minColumn")                                     \
  MACRO(minDays, minDays, "minDays")                                           \
  MACRO(minimum, minimum, "minimum")                                           \
  MACRO(minimumFractionDigits, minimumFractionDigits, "minimumFractionDigits") \
  MACRO(minimumIntegerDigits, minimumIntegerDigits, "minimumIntegerDigits")    \
  MACRO(minimumSignificantDigits, minimumSignificantDigits,                    \
        "minimumSignificantDigits")                                            \
  MACRO(minLine, minLine, "minLine")                                           \
  MACRO(minOffset, minOffset, "minOffset")                                     \
  MACRO(minusSign, minusSign, "minusSign")                                     \
  MACRO(minute, minute, "minute")                                              \
  MACRO(missingArguments, missingArguments, "missingArguments")                \
  MACRO(mode, mode, "mode")                                                    \
  MACRO(module, module, "module")                                              \
  MACRO(Module, Module, "Module")                                              \
  MACRO(ModuleInstantiate, ModuleInstantiate, "ModuleInstantiate")             \
  MACRO(ModuleEvaluate, ModuleEvaluate, "ModuleEvaluate")                      \
  MACRO(month, month, "month")                                                 \
  MACRO(multiline, multiline, "multiline")                                     \
  MACRO(mutable, mutable_, "mutable")                                          \
  MACRO(name, name, "name")                                                    \
  MACRO(nan, nan, "nan")                                                       \
  MACRO(NaN, NaN, "NaN")                                                       \
  MACRO(NegativeInfinity, NegativeInfinity, "-Infinity")                       \
  MACRO(new, new_, "new")                                                      \
  MACRO(NewPrivateName, NewPrivateName, "NewPrivateName")                      \
  MACRO(next, next, "next")                                                    \
  MACRO(NFC, NFC, "NFC")                                                       \
  MACRO(NFD, NFD, "NFD")                                                       \
  MACRO(NFKC, NFKC, "NFKC")                                                    \
  MACRO(NFKD, NFKD, "NFKD")                                                    \
  MACRO(noFilename, noFilename, "noFilename")                                  \
  MACRO(nonincrementalReason, nonincrementalReason, "nonincrementalReason")    \
  MACRO(NoPrivateGetter, NoPrivateGetter, "NoPrivateGetter")                   \
  MACRO(noStack, noStack, "noStack")                                           \
  MACRO(notation, notation, "notation")                                        \
  MACRO(notes, notes, "notes")                                                 \
  MACRO(numberingSystem, numberingSystem, "numberingSystem")                   \
  MACRO(numeric, numeric, "numeric")                                           \
  MACRO(objectArguments, objectArguments, "[object Arguments]")                \
  MACRO(objectArray, objectArray, "[object Array]")                            \
  MACRO(objectBigInt, objectBigInt, "[object BigInt]")                         \
  MACRO(objectBoolean, objectBoolean, "[object Boolean]")                      \
  MACRO(objectDate, objectDate, "[object Date]")                               \
  MACRO(objectError, objectError, "[object Error]")                            \
  MACRO(objectFunction, objectFunction, "[object Function]")                   \
  MACRO(objectNull, objectNull, "[object Null]")                               \
  MACRO(objectNumber, objectNumber, "[object Number]")                         \
  MACRO(objectObject, objectObject, "[object Object]")                         \
  MACRO(objectRegExp, objectRegExp, "[object RegExp]")                         \
  MACRO(objects, objects, "objects")                                           \
  MACRO(objectString, objectString, "[object String]")                         \
  MACRO(objectSymbol, objectSymbol, "[object Symbol]")                         \
  MACRO(objectUndefined, objectUndefined, "[object Undefined]")                \
  MACRO(offset, offset, "offset")                                              \
  MACRO(optimizedOut, optimizedOut, "optimizedOut")                            \
  MACRO(other, other, "other")                                                 \
  MACRO(outOfMemory, outOfMemory, "out of memory")                             \
  MACRO(ownKeys, ownKeys, "ownKeys")                                           \
  MACRO(Object_valueOf, Object_valueOf, "Object_valueOf")                      \
  MACRO(package, package, "package")                                           \
  MACRO(parseFloat, parseFloat, "parseFloat")                                  \
  MACRO(parseInt, parseInt, "parseInt")                                        \
  MACRO(pattern, pattern, "pattern")                                           \
  MACRO(pending, pending, "pending")                                           \
  MACRO(percentSign, percentSign, "percentSign")                               \
  MACRO(pipeTo, pipeTo, "pipeTo")                                              \
  MACRO(plusSign, plusSign, "plusSign")                                        \
  MACRO(public, public_, "public")                                             \
  MACRO(pull, pull, "pull")                                                    \
  MACRO(preventAbort, preventAbort, "preventAbort")                            \
  MACRO(preventClose, preventClose, "preventClose")                            \
  MACRO(preventCancel, preventCancel, "preventCancel")                         \
  MACRO(preventExtensions, preventExtensions, "preventExtensions")             \
  MACRO(private, private_, "private")                                          \
  MACRO(promise, promise, "promise")                                           \
  MACRO(propertyIsEnumerable, propertyIsEnumerable, "propertyIsEnumerable")    \
  MACRO(protected, protected_, "protected")                                    \
  MACRO(proto, proto, "__proto__")                                             \
  MACRO(prototype, prototype, "prototype")                                     \
  MACRO(proxy, proxy, "proxy")                                                 \
  MACRO(quarter, quarter, "quarter")                                           \
  MACRO(raw, raw, "raw")                                                       \
  MACRO(reason, reason, "reason")                                              \
  MACRO(RegExpFlagsGetter, RegExpFlagsGetter, "$RegExpFlagsGetter")            \
  MACRO(RegExpStringIterator, RegExpStringIterator, "RegExp String Iterator")  \
  MACRO(RegExpToString, RegExpToString, "$RegExpToString")                     \
  MACRO(region, region, "region")                                              \
  MACRO(register, register_, "register")                                       \
  MACRO(Reify, Reify, "Reify")                                                 \
  MACRO(reject, reject, "reject")                                              \
  MACRO(rejected, rejected, "rejected")                                        \
  MACRO(relatedYear, relatedYear, "relatedYear")                               \
  MACRO(RelativeTimeFormatFormat, RelativeTimeFormatFormat,                    \
        "Intl_RelativeTimeFormat_Format")                                      \
  MACRO(RequireObjectCoercible, RequireObjectCoercible,                        \
        "RequireObjectCoercible")                                              \
  MACRO(resolve, resolve, "resolve")                                           \
  MACRO(result, result, "result")                                              \
  MACRO(resumeGenerator, resumeGenerator, "resumeGenerator")                   \
  MACRO(return, return_, "return")                                             \
  MACRO(revoke, revoke, "revoke")                                              \
  MACRO(rtl, rtl, "rtl")                                                       \
  MACRO(script, script, "script")                                              \
  MACRO(scripts, scripts, "scripts")                                           \
  MACRO(second, second, "second")                                              \
  MACRO(selfHosted, selfHosted, "self-hosted")                                 \
  MACRO(sensitivity, sensitivity, "sensitivity")                               \
  MACRO(set, set, "set")                                                       \
  MACRO(setBigInt64, setBigInt64, "setBigInt64")                               \
  MACRO(setBigUint64, setBigUint64, "setBigUint64")                            \
  MACRO(SetConstructorInit, SetConstructorInit, "SetConstructorInit")          \
  MACRO(SetIterator, SetIterator, "Set Iterator")                              \
  MACRO(setPrefix, setPrefix, "set ")                                          \
  MACRO(setPrototypeOf, setPrototypeOf, "setPrototypeOf")                      \
  MACRO(shape, shape, "shape")                                                 \
  MACRO(shared, shared, "shared")                                              \
  MACRO(signal, signal, "signal")                                              \
  MACRO(signDisplay, signDisplay, "signDisplay")                               \
  MACRO(size, size, "size")                                                    \
  MACRO(skeleton, skeleton, "skeleton")                                        \
  MACRO(source, source, "source")                                              \
  MACRO(SpeciesConstructor, SpeciesConstructor, "SpeciesConstructor")          \
  MACRO(stack, stack, "stack")                                                 \
  MACRO(starNamespaceStar, starNamespaceStar, "*namespace*")                   \
  MACRO(start, start, "start")                                                 \
  MACRO(startRange, startRange, "startRange")                                  \
  MACRO(startTimestamp, startTimestamp, "startTimestamp")                      \
  MACRO(state, state, "state")                                                 \
  MACRO(static, static_, "static")                                             \
  MACRO(status, status, "status")                                              \
  MACRO(std_Function_apply, std_Function_apply, "std_Function_apply")          \
  MACRO(sticky, sticky, "sticky")                                              \
  MACRO(StringIterator, StringIterator, "String Iterator")                     \
  MACRO(strings, strings, "strings")                                           \
  MACRO(String_split, String_split, "String_split")                            \
  MACRO(StructType, StructType, "StructType")                                  \
  MACRO(style, style, "style")                                                 \
  MACRO(super, super, "super")                                                 \
  MACRO(switch, switch_, "switch")                                             \
  MACRO(Symbol_iterator_fun, Symbol_iterator_fun, "[Symbol.iterator]")         \
  MACRO(target, target, "target")                                              \
  MACRO(test, test, "test")                                                    \
  MACRO(then, then, "then")                                                    \
  MACRO(this, this_, "this")                                                   \
  MACRO(throw, throw_, "throw")                                                \
  MACRO(timestamp, timestamp, "timestamp")                                     \
  MACRO(timeZone, timeZone, "timeZone")                                        \
  MACRO(timeZoneName, timeZoneName, "timeZoneName")                            \
  MACRO(trimEnd, trimEnd, "trimEnd")                                           \
  MACRO(trimLeft, trimLeft, "trimLeft")                                        \
  MACRO(trimRight, trimRight, "trimRight")                                     \
  MACRO(trimStart, trimStart, "trimStart")                                     \
  MACRO(toGMTString, toGMTString, "toGMTString")                               \
  MACRO(toISOString, toISOString, "toISOString")                               \
  MACRO(toJSON, toJSON, "toJSON")                                              \
  MACRO(toLocaleString, toLocaleString, "toLocaleString")                      \
  MACRO(ToNumeric, ToNumeric, "ToNumeric")                                     \
  MACRO(toSource, toSource, "toSource")                                        \
  MACRO(toString, toString, "toString")                                        \
  MACRO(ToString, ToString, "ToString")                                        \
  MACRO(toUTCString, toUTCString, "toUTCString")                               \
  MACRO(true, true_, "true")                                                   \
  MACRO(try, try_, "try")                                                      \
  MACRO(type, type, "type")                                                    \
  MACRO(typeof, typeof_, "typeof")                                             \
  MACRO(uint8, uint8, "uint8")                                                 \
  MACRO(uint8Clamped, uint8Clamped, "uint8Clamped")                            \
  MACRO(uint16, uint16, "uint16")                                              \
  MACRO(uint32, uint32, "uint32")                                              \
  MACRO(Uint8x16, Uint8x16, "Uint8x16")                                        \
  MACRO(Uint16x8, Uint16x8, "Uint16x8")                                        \
  MACRO(Uint32x4, Uint32x4, "Uint32x4")                                        \
  MACRO(unescape, unescape, "unescape")                                        \
  MACRO(uneval, uneval, "uneval")                                              \
  MACRO(unicode, unicode, "unicode")                                           \
  MACRO(unit, unit, "unit")                                                    \
  MACRO(unitDisplay, unitDisplay, "unitDisplay")                               \
  MACRO(uninitialized, uninitialized, "uninitialized")                         \
  MACRO(unknown, unknown, "unknown")                                           \
  MACRO(unregister, unregister, "unregister")                                  \
  MACRO(UnsafeGetReservedSlot, UnsafeGetReservedSlot, "UnsafeGetReservedSlot") \
  MACRO(UnsafeGetObjectFromReservedSlot, UnsafeGetObjectFromReservedSlot,      \
        "UnsafeGetObjectFromReservedSlot")                                     \
  MACRO(UnsafeGetInt32FromReservedSlot, UnsafeGetInt32FromReservedSlot,        \
        "UnsafeGetInt32FromReservedSlot")                                      \
  MACRO(UnsafeGetStringFromReservedSlot, UnsafeGetStringFromReservedSlot,      \
        "UnsafeGetStringFromReservedSlot")                                     \
  MACRO(UnsafeGetBooleanFromReservedSlot, UnsafeGetBooleanFromReservedSlot,    \
        "UnsafeGetBooleanFromReservedSlot")                                    \
  MACRO(UnsafeSetReservedSlot, UnsafeSetReservedSlot, "UnsafeSetReservedSlot") \
  MACRO(unsized, unsized, "unsized")                                           \
  MACRO(unwatch, unwatch, "unwatch")                                           \
  MACRO(url, url, "url")                                                       \
  MACRO(usage, usage, "usage")                                                 \
  MACRO(useAsm, useAsm, "use asm")                                             \
  MACRO(useGrouping, useGrouping, "useGrouping")                               \
  MACRO(useStrict, useStrict, "use strict")                                    \
  MACRO(void, void_, "void")                                                   \
  MACRO(value, value, "value")                                                 \
  MACRO(valueOf, valueOf, "valueOf")                                           \
  MACRO(values, values, "values")                                              \
  MACRO(var, var, "var")                                                       \
  MACRO(variable, variable, "variable")                                        \
  MACRO(void0, void0, "(void 0)")                                              \
  MACRO(wasm, wasm, "wasm")                                                    \
  MACRO(WasmAnyRef, WasmAnyRef, "WasmAnyRef")                                  \
  MACRO(wasmcall, wasmcall, "wasmcall")                                        \
  MACRO(watch, watch, "watch")                                                 \
  MACRO(WeakMapConstructorInit, WeakMapConstructorInit,                        \
        "WeakMapConstructorInit")                                              \
  MACRO(WeakSetConstructorInit, WeakSetConstructorInit,                        \
        "WeakSetConstructorInit")                                              \
  MACRO(WeakSet_add, WeakSet_add, "WeakSet_add")                               \
  MACRO(week, week, "week")                                                    \
  MACRO(weekday, weekday, "weekday")                                           \
  MACRO(weekendEnd, weekendEnd, "weekendEnd")                                  \
  MACRO(weekendStart, weekendStart, "weekendStart")                            \
  MACRO(while, while_, "while")                                                \
  MACRO(with, with, "with")                                                    \
  MACRO(writable, writable, "writable")                                        \
  MACRO(write, write, "write")                                                 \
  MACRO(year, year, "year")                                                    \
  MACRO(yearName, yearName, "yearName")                                        \
  MACRO(yield, yield, "yield")                                                 \
  /* Type names must be contiguous and ordered; see js::TypeName. */           \
  MACRO(undefined, undefined, "undefined")                                     \
  MACRO(object, object, "object")                                              \
  MACRO(function, function, "function")                                        \
  MACRO(string, string, "string")                                              \
  MACRO(number, number, "number")                                              \
  MACRO(boolean, boolean, "boolean")                                           \
  MACRO(null, null, "null")                                                    \
  MACRO(symbol, symbol, "symbol")                                              \
  MACRO(bigint, bigint, "bigint")                                              \
  MACRO(defineDataPropertyIntrinsic, defineDataPropertyIntrinsic,              \
        "_DefineDataProperty")

#define FOR_EACH_COMMON_PROPERTYNAME(MACRO)   \
  FOR_EACH_NONTINY_COMMON_PROPERTYNAME(MACRO) \
  FOR_EACH_TINY_PROPERTYNAME(MACRO)

#endif /* vm_CommonPropertyNames_h */