gecko-dev/js/xpconnect
Nicholas Nethercote b23fb68ae3 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 59f77df0124249bfd11fee3585420a17b4201d37
2017-10-04 13:44:24 +11:00
..
crashtests Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
idl Bug 1348981 - add Cu.readURI helper for sync file reading on startup r=kmag 2017-09-19 12:13:08 -07:00
loader Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-04 13:44:24 +11:00
public Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
shell Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE 2017-08-23 18:12:46 +02:00
src Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-04 13:44:24 +11:00
tests Bug 543535 - Remove ISO8601DateUtils.jsm. r=mak 2017-10-04 12:34:11 +02:00
wrappers Bug 1404107 - Refactor: Move some reparenting complexity into XPConnect. r=mrbkap,r=bz 2017-10-05 11:49:43 -05:00
moz.build Bug 1400406 - js/xpconnect/moz.build contains a reference to a non-existent directory. r=gps 2017-09-15 14:35:15 -07:00