mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
bd0e9ab215
Use constexpr initialization for bake ParserAtomEntries for tiny well-known atoms into the executable. This is done in a new type with a constexpr constructor that computes the correct atom data. Some StaticStrings helper methods must be moved to the header in order to compute constexpr values. Since some CommonPropertyNames are already encoded in the tiny atom tables, we must take care not to generate a duplicate atom. To achieve this we split the FOR_EACH_COMMON_PROPERTYNAME list into two. The parser atoms for this named tiny strings use a new initTinyStringAlias method to avoid duplicates. Differential Revision: https://phabricator.services.mozilla.com/D91087 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |