зеркало из https://github.com/mozilla/gecko-dev.git
84e60db6d8
The codesize impact is approximately 0 (actually positive by a a few KB), because AssignJSString is not inlined. If we were to force-inline AssignJSString, that would actually _save_ ~115KB based on bloaty measurements for linux64 shippable opt builds (so with LTO), because then ConvertJSValueToString stops being inlined in bindings. Given that ConvertJSValueToString pretty much always calls AssignJSString, so there is no slowdown from changing which of them is inlined, this is _really_ tempting to do, but I don't want to mess with compiler inlining heuristics... Inlining both AssignJSString and ConvertJSValueToString increases codesize by ~2MB, so that's definitely _not_ desirable. Differential Revision: https://phabricator.services.mozilla.com/D50627 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |