1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

Moving scanning accounting to tracescanarea and creating analogous formatscan.

Copied from Perforce
 Change: 189325
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2016-02-19 12:07:59 +00:00
parent b771a2112a
commit 8a4e5ab290
8 changed files with 57 additions and 31 deletions

View file

@ -537,7 +537,6 @@ Res RootScan(ScanState ss, Root root)
root->the.area.scan_area,
root->the.area.the.closure.p,
root->the.area.the.closure.s);
ss->scannedSize += AddrOffset(root->the.area.base, root->the.area.limit);
if (res != ResOK)
goto failScan;
break;
@ -549,7 +548,6 @@ Res RootScan(ScanState ss, Root root)
root->the.area.scan_area,
&root->the.area.the.tag,
sizeof(root->the.area.the.tag));
ss->scannedSize += AddrOffset(root->the.area.base, root->the.area.limit);
if (res != ResOK)
goto failScan;
break;