gecko-dev/xpcom
Gerald Squelart eb46a3cefe Bug 1332785 - Optimize MozPromiseHolder::Resolve and Reject - r=jwwang
Instead of lvalues, MozPromiseHolder::Resolve and Reject now take either
const& or && values of the expected types, to allow move semantics all the way
to the ResolveOrRejectValue object.

Note that we won't just take forwarding references of any type, as this could
lead to implicit conversions by bypassing the 'explicit' marker of the value
type constructors, like in bug 1331137.

MozReview-Commit-ID: K0jeY6WTXI1

--HG--
extra : rebase_source : 7ee0fd1edfdeadb239f48c8b5b46fd54af3ec5d2
2017-01-21 12:24:10 +11:00
..
base merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
build Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
components
doc
ds Bug 1329718 - remove nsISupportsVoid and associated machinery; r=erahm 2017-01-10 16:31:48 -05:00
glue Merge m-c to autoland 2017-01-20 19:15:16 -08:00
idl-parser Bug 1329857 - Remove NS_METHOD and NS_CALLBACK. r=froydnj. 2017-01-10 14:08:43 +11:00
io Bug 1332167: Unix major() and minor() return unsigned r=froydnj 2017-01-20 10:38:43 -05:00
libxpt/xptcall
reflect Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium 2016-12-02 12:55:34 -05:00
rust/nsstring Bug 1330824 - Add truncate for nsAString and nsACString. r=mystor 2017-01-14 15:02:14 +09:00
string Bug 1332648 - remove bogus string radix/case #defines; r=erahm 2017-01-20 16:37:35 -05:00
system Backed out changeset eae2252a519f (bug 1321593) for leaks, e.g. in clipboard and jetpack tests. r=backout 2016-12-12 22:10:17 +01:00
tests Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
threads Bug 1332785 - Optimize MozPromiseHolder::Resolve and Reject - r=jwwang 2017-01-21 12:24:10 +11:00
typelib
windbgdlg
xpidl
moz.build
xpcom-config.h.in Bug 1326145 - Remove HAVE_CPP_AMBIGUITY_RESOLVING_USING. r=froydnj 2016-12-29 18:05:20 +11:00
xpcom-private.h.in