gecko-dev/js
Mike Hommey b97b9da178 Bug 1481670 - Reduce the size of AnyRegister::Code and MIRType. r=jandem
For the same reason as previous commit, the code clang generates for
~AutoOutputRegister when inlined in CacheIRCompiler::emitArrayJoinResult
makes valgrind unhappy. The reason is that TypedOrValueRegister contains
a union with two types of different sizes, where clang makes the code do
a check against the larger variant before validating the union tag says
that's the type in use, and that doesn't go well under valgrind when the
union value was set for the smaller variant.

One way to fix this is to make the TypedOrValueRegister constructor fill
the uninitialized bytes of the union, but it also appears that the types
used in the union, as well as the union tag itself, are larger than they
actually need to be:

- AnyRegister::Code is a 32-bits integer representing a register number,
when no supported platform has more than 254 registers (accounting for
AnyRegister::Invalid),

- MIRType is a 32-bits integer (enum, actually) representing values that
are all below 256.

Changing only the former would make valgrind happy, avoiding the
uninitialized bytes being tested against in ~AutoOutputRegister, but it
was too tempting to do MIRType as well.
2018-08-24 21:44:12 +09:00
..
ductwork/debugger Bug 1479363 part 10 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in other directories. r=mrbkap 2018-08-02 19:30:17 +02:00
examples No bug. Minor jorendb tweaks: make $$ mean last value seen, and use it internally for Error printing. r=me 2017-09-26 20:58:40 -07:00
ipc Bug 1481998 - Make mozilla::Hash{Map,Set}'s entry storage allocation lazy. r=luke,sfink 2018-08-10 18:00:29 +10:00
public Bug 1485615 - Move internal ZoneAllocPolicy to gc/Zone.h r=sfink 2018-08-23 16:59:01 +01:00
rust Bug 1466128 part 2 - Rename AutoCompartment to AutoRealm. r=jdm 2018-08-14 14:25:48 +02:00
src Bug 1481670 - Reduce the size of AnyRegister::Code and MIRType. r=jandem 2018-08-24 21:44:12 +09:00
xpconnect Bug 1484496: Part 6 - Remove unused XPCOMUtils.IterSimpleEnumerator method. r=mccr8 2018-08-18 18:45:57 -07:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1444141 - part 4 - make the JS engine depend on Rust; r=chmanchester,glandium,jorendorff 2018-08-02 11:00:21 -05:00