Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Mike Hommey 154fd9c9ad Bug 1424116 - Change the definition of mozilla::fallible again. r=njn
In bug 1423803, mozilla::fallible was made an "alias" of std::nothrow.
Except C++ doesn't allow compilers to be too smart, and in many cases,
they would actually create data fields to hold a copy of std::nothrow,
even creating a static initializer on non-optimized builds to do so.

By turning it into a reference, we allow compilers to just use
std::nothrow directly, as if it were passed directly, but they can still
create unused data fields. Turning it into a static allows compilers to
skip the data fields altogether.

On a local linux64 build, this saves 242 bytes of .bss.

Note this does change a `lea` (address calculation) into a `mov` (read),
but it shouldn't matter too much.

--HG--
extra : rebase_source : 9c08e8263aef267b8ad5962b0248c7effcb67796
2017-12-08 11:51:59 +09:00
.cargo
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
browser Bug 1393817 Fix L10N check for MinGW build r=ted 2017-12-07 11:09:43 -06:00
build Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium 2017-11-20 22:20:56 -06:00
caps Bug 1422177 - add tests for moz-icon being non-linkable from the web, r=bz,jkt 2017-12-04 15:26:34 +00:00
chrome Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8 2017-05-28 19:57:46 +01:00
config Bug 1423512 - Remove infallible allocator exception for xpcom glue code. r=erahm 2017-12-06 09:56:02 +09:00
db Bug 1411417 - Upgrade to SQLite 3.21.0. r=mak 2017-11-15 18:40:32 -05:00
devtools Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
docshell Bug 1412456 - Fix onbeforeunload test to no longer rely on interposition (r=Gijs) 2017-12-07 12:55:26 -08:00
dom Bug 1424115 - Rewrite test_animation_observers_async.html with promise_test. r=boris 2017-12-08 12:03:30 +09:00
editor Bug 1419925, implement a promise-oriented version of waitForClipboard, promiseClipboardChange, change a selection of tests to use this instead. Simplify some other clipboard tests that were unreliable before the fix for 1394757. r=jmaher 2017-12-07 08:39:50 -05:00
embedding
extensions Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
gfx Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow 2017-12-07 17:13:05 -05:00
gradle/wrapper
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1419889 - Don't force the image cache to validate if it hasn't started yet. r=tnikkel 2017-12-07 08:28:28 -05:00
intl Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
ipc Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
js Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium 2017-11-20 22:20:56 -06:00
layout Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow 2017-12-07 17:13:05 -05:00
media Bug 1424114 - Add missing string.h include in timecard.c. r=jesup 2017-12-08 11:45:28 +09:00
memory Bug 1424116 - Change the definition of mozilla::fallible again. r=njn 2017-12-08 11:51:59 +09:00
mfbt Bug 1418558 part 3. Make MOZ_KnownLive compile even when not doing a static analysis build. r=mystor 2017-12-05 11:18:16 -05:00
mobile Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
modules Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow 2017-12-07 17:13:05 -05:00
mozglue Bug 1422394: Add a mechanism to report dll loads to an observer; r=jimm 2017-12-04 18:08:17 -07:00
netwerk Bug 1421963: lock around SCTP input processing, not just the receive callback r=drno 2017-12-07 13:24:46 -05:00
nsprpub Bug 1420407, NSPR_4_18_BETA3, r=me 2017-12-07 12:22:42 +01:00
other-licenses Bug 1421354 - Allow stub installer download resuming in more error cases. r=agashlin 2017-11-28 10:54:32 -08:00
parser Backed out 2 changesets (bug 1423167) for build bustage on OSX and Windows on a CLOSED TREE 2017-12-06 12:18:24 +02:00
python Bug 1393817 Fix L10N check for MinGW build r=ted 2017-12-07 11:09:43 -06:00
rdf Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
security Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
services Bug 1423067 - SyncedTabs.jsm now exports the loginFailed getter fixing an issue with the sidebar. r=eoger 2017-12-05 14:46:53 +11:00
servo servo: Merge #19518 - style: Remove useless type parameter (from emilio:useless-code-is-useless); r=KiChjang 2017-12-07 20:32:11 -06:00
startupcache Bug 1410471 - Remove StartupCacheWrapper and friends. r=froydnj 2017-10-20 10:40:50 -07:00
storage Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
taskcluster Bug 1423918 - Run TVw as tier 2; r=me, a=test-only 2017-12-07 08:41:31 -07:00
testing Backed out changeset 6e523917ee97 (bug 1423353) as requested by igoldan. a=backout 2017-12-08 12:03:06 +02:00
third_party Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-06 01:49:19 +02:00
toolkit Bug 379290 - Add env var to auto submit crashes r=gsvelto 2017-12-07 08:47:29 -08:00
tools Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
uriloader Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop 2017-11-28 22:57:08 +00:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
xpcom Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
xpfe Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Backed out 7 changesets (bug 1377007) for failing build bustage on Linux pgo and faling Cpp's jsapi-tests r=backout on a CLOSED TREE 2017-12-04 18:01:09 +02:00
.eslintrc.js Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop 2017-11-28 19:24:12 +00:00
.flake8
.gdbinit
.gdbinit_python
.gitignore Bug 1419836 - ID .gitignore entry ignores "id" locale (for mac). r=standard8 2017-11-22 10:30:55 -08:00
.hgignore Bug 1415168 - Fix 404 error when running talos speedometer locally; r=igoldan 2017-11-28 15:35:44 -05:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig
.lldbinit
.taskcluster.yml Bug 1420469 - action task routes use literal "$ownTaskId" r=bstack 2017-11-24 12:56:24 -05:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py
CLOBBER Bug 1416465 - Expand pattern when track file is created rather than read. r=mshal 2017-12-02 16:51:19 +09:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1412932 - Inline pgo-profile-run target; r=ted 2017-11-07 15:06:45 -08:00
moz.build Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.configure Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester 2017-11-15 14:53:16 -04:00
mozilla-config.h.in
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium 2017-11-20 22:20:56 -06:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
README.txt
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/