gecko-dev/xpcom
Nicholas Nethercote d1e495344b Bug 1365854 - Remove FRAME_LABEL_COPY. r=mstange,shu.
ProfileEntry has |string|, which can be static or dynamic, and |dynamicString|.
If |string| is dynamic, the FRAME_LABEL_COPY flag must be set, and it will be
copied into profiler output.

But there is only one place that uses dynamic |string| values, in SpiderMonkey.
And that place doesn't use |dynamicString|. So this patch changes that place to
use an empty |string| and put the old dynamic |string| value in
|dynamicString|. This in turn removes the need for FRAME_LABEL_COPY.

One minor wrinkle is that when |dynamicString| is used the old code put a space
between |string| and |dynamicString|. The new code omits the space if |string|
is empty.

The patch also renames ProfileEntry::string as ProfileEntry::label_, which
better matches how it's used, and ProfileEntry::dynamicString as
ProfileEntry::dynamicString_ so the getter can be renamed dynamicString().
2017-05-18 17:17:46 +10:00
..
base Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj 2017-05-17 13:06:23 -04:00
build Bug 1348747 - Part 2: Support stub functions starting with jmp rel8 in WindowsDllDetourPatcher. r=handyman 2017-05-19 15:53:54 +08:00
components Bug 1360971 - Part 1: Add the nsCategoryCache<T>::GetCachedEntries() API; r=froydnj 2017-05-08 10:31:13 -04:00
doc
ds Bug 1363036 - Add MOZ_DIAGNOSTIC_ASSERTs for bug hunting. r=smaug 2017-05-16 10:54:01 +08:00
glue Bug 1332639 followup. I apparently didn't actually remove the nsStringAPI.* files, but that was the intention, r=oops 2017-03-02 09:23:08 -05:00
idl-parser Backed out changeset c8fe57b085bd (bug 1333631) 2017-01-30 23:17:34 +01:00
io Bug 1364050 - Part 4 - Remove references to "downloads.rdf". r=mak 2017-05-11 09:37:10 +01:00
libxpt/xptcall
reflect Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj 2017-05-17 13:06:23 -04:00
rust Bug 1336153 - Remove MOZ_RUST. r=ted 2017-05-09 11:36:13 -07:00
string Bug 1356025 - Add Capacity checks to nsTSubstring constructor. r=froydnj 2017-05-15 16:52:43 -07:00
system Bug 1349363 - Centralize pref-checking code for e10s-multi control. r=Felipe 2017-04-17 14:36:04 -07:00
tests Bug 1353882 - Disable TestArenaAllocator.AllocationsPerChunk and TestArenaAllocator.MemoryIsValid tests in code coverage builds. r=jmaher 2017-05-16 10:39:22 +02:00
threads Bug 1365854 - Remove FRAME_LABEL_COPY. r=mstange,shu. 2017-05-18 17:17:46 +10:00
typelib Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
windbgdlg Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpidl Bug 1293784 - Only recurse into xpcom/idl-parser/xpidl once; r=gps 2016-08-09 16:58:18 -04:00
moz.build Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj 2016-09-20 11:26:43 -04:00
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