mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
88c9734950
When we're lowering extra types (e.g. array element types) and we find that we haven't already lowered the type, we say that the new type is going to live at the end of the `types` array. But we don't append a new type (i.e. filling in the entry) until after we call `lower_type`, which means that some other call to `lower_extra_type` might find that *its* new type will live at the same position we "allocated" higher up on the stack. We don't appear to run into this issue, as the only nested array types are things like `Array<Array<uint8>>`, and `uint8` is guaranteed to already have been lowered. But if people start doing more complicated things, we're bound to run into this sooner or later. Differential Revision: https://phabricator.services.mozilla.com/D33299 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |