gecko-dev/dom
Markus Stange 000dc83f31 Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn
They were not displayed in the UI, and the instructions to initialize the line
field of a stack frame increased code size unnecessarily.

This change reduces the binary size on Linux x64 by around 100KB.

Here's a diff of the impact on the code generated for Attr_Binding::get_specified
in the Mac build:

@@ -20,17 +20,16 @@
    movq       0x8(%rbx), %rax
    movq       %r12, %rcx
    shlq       $0x5, %rcx
    leaq       aGetAttrspecifi, %rdx                       ; "get Attr.specified"
    movq       %rdx, (%rax,%rcx)
    movq       $0x0, 0x8(%rax,%rcx)
    leaq       -40(%rbp), %rdx
    movq       %rdx, 0x10(%rax,%rcx)
-   movl       $0x106, 0x18(%rax,%rcx)
    movl       $0x1c, 0x1c(%rax,%rcx)
    leal       0x1(%r12), %eax
    movl       %eax, 0x10(%rbx)

    movq       %r15, %rdi
    call       __ZNK7mozilla3dom4Attr9SpecifiedEv          ; mozilla::dom::Attr::Specified() const
    movzxl     %al, %eax
    movabsq    $0xfff9000000000000, %rcx

Depends on D9193

Differential Revision: https://phabricator.services.mozilla.com/D9195

--HG--
extra : moz-landing-system : lando
2018-11-05 19:07:45 +00:00
..
abort Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
animation Bug 1501117 - Part 2: Serialize timing function from web animation api with servo. r=emilio,birtles 2018-11-01 21:33:56 +00:00
asmjscache Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
audiochannel Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
base Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn 2018-11-05 19:07:45 +00:00
battery Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
bindings Bug 1503664. Keep trying to pin down why ClearDocumentDependentSlots is crashing. r=mccr8 2018-10-31 20:25:35 -04:00
broadcastchannel Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
browser-element Merge mozilla-central to mozilla-inbound. a=merge 2018-11-02 00:38:07 +02:00
cache Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
canvas Bug 1503458 - Remove unused GetParameterIndexed. r=kvark 2018-10-31 02:10:04 +00:00
chrome-webidl Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8 2018-10-26 13:17:55 -07:00
clients Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState; r=bz, nika 2018-10-29 17:13:29 -07:00
commandhandler Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
console Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
credentialmanagement
crypto Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
encoding Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
events Bug 1497524 - Properly dispatch events when the NAC event target is not the root, and it gets reframed. r=smaug 2018-11-04 19:53:07 +00:00
fetch Bug 1503602 - Use the Response's global to create the ReadableStream reader to consume the body, r=bz 2018-11-01 22:46:30 +01:00
file Backed out changeset 6babd3b956aa (bug 1502403) for wpt leak at mozilla::dom::FileReader::ReadFileContent 2018-10-30 12:50:37 +02:00
filehandle
filesystem
flex Bug 1498273 Part 4: Add tests of FlexItem clampState. r=dholbert 2018-10-25 00:14:40 +00:00
gamepad
geolocation Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
grid
html Merge inbound to mozilla-central. a=merge 2018-11-03 11:40:50 +02:00
imptests
indexedDB Bug 1467712 - Fix leftover calls to ok() with 3 args in ipc and indexedDB;r=test-only 2018-11-01 17:42:48 +01:00
interfaces Bug 1504446 - Remove two unused members of nsITabParent r=baku 2018-11-05 16:52:03 +00:00
ipc Bug 1504446 - Remove two unused members of nsITabParent r=baku 2018-11-05 16:52:03 +00:00
jsurl Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
locales Merge mozilla-inbound to mozilla-central. a=merge 2018-10-30 11:40:57 +02:00
manifest Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8 2018-10-23 07:13:35 +00:00
mathml
media Bug 1504723 - Fix typo in enum name for some BiquadFilter and WaveShaper nodes. r=padenot 2018-11-05 16:08:56 +00:00
messagechannel Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
midi Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
network Bug 1504439 - Remove the XPCOM registration for "@mozilla.org/udp-socket-child;1" r=valentin 2018-11-04 19:14:08 +00:00
notification Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
offline
payments Bug 1504046 - Typo in tests "reqeustPayerPhone" should be "requestPayerPhone". r=edenchuang 2018-11-04 21:24:19 +00:00
performance Backed out 3 changesets (bug 1417976) for causing devtools failures in builds/worker/workspace/build/src/tools/profiler/core/platform.cpp 2018-11-03 01:40:27 +02:00
permission
plugins Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb 2018-11-05 16:41:45 +02:00
power
presentation Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
prio Bug 1501784 - throw if the limit of booleans Prio can encode in one batch is exceeded r=hsivonen 2018-10-29 10:31:26 +00:00
promise
push Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
quota Bug 1459603 - Remove the checkbox from the persistent storage notification. r=johannh 2018-11-02 08:15:05 +00:00
res
script Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn 2018-11-05 19:07:45 +00:00
security Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
serviceworkers Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
simpledb
smil Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
storage Bug 1503468 - Add more AUTO_PROFILER_THREAD_SLEEP's - r=mstange 2018-11-02 16:26:50 +00:00
svg Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
system
tests Bug 1467712 - Update all test wrappers forwarding to ok;r=Standard8 2018-11-01 13:50:29 +00:00
u2f
url Bug 1500962 - Test for URL.toJSON(), r=qdot 2018-10-30 07:54:57 +01:00
vr Bug 1501869 - Part 2: Stop calling VR tasks when they are at background. r=kip 2018-10-28 22:49:15 +00:00
webauthn Merge mozilla-inbound to mozilla-central. a=merge 2018-11-02 00:27:53 +02:00
webbrowserpersist
webgpu
webidl Bug 1496242 - Part II, Convert datetimebox to UA Widget r=dholbert,jaws,smaug 2018-11-03 05:31:05 +00:00
websocket
workers Bug 1503468 - Add more AUTO_PROFILER_THREAD_SLEEP's - r=mstange 2018-11-02 16:26:50 +00:00
worklet Bug 1503236 - Move WorkletImpl reference from WorkletGlobalScope to classes inheriting WorkletGlobalScope r=karlt 2018-10-31 23:03:39 +00:00
xbl Bug 1426492 - Add an assertion to limit XBL bindings in the content process r=NeilDeakin 2018-11-03 11:11:31 +00:00
xhr Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE 2018-10-30 23:31:10 +02:00
xml
xslt Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE 2018-11-05 05:17:40 +02:00
xul Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
jar.mn
moz.build