|
From: <sv...@va...> - 2015-01-27 20:46:26
|
Author: florian
Date: Tue Jan 27 20:46:19 2015
New Revision: 14891
Log:
Remove unused field from NSegment structure.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
trunk/include/pub_tool_aspacemgr.h
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Tue Jan 27 20:46:19 2015
@@ -523,7 +523,7 @@
VG_(debugLog)(
logLevel, "aspacem",
"%3d: %s %010llx-%010llx %s %c%c%c%c%c %s "
- "d=0x%03llx i=%-7lld o=%-7lld (%d) m=%d %s\n",
+ "d=0x%03llx i=%-7lld o=%-7lld (%d) %s\n",
segNo, show_SegKind(seg->kind),
(ULong)seg->start, (ULong)seg->end, len_buf,
seg->hasR ? 'r' : '-', seg->hasW ? 'w' : '-',
@@ -531,7 +531,7 @@
seg->isCH ? 'H' : '-',
show_ShrinkMode(seg->smode),
seg->dev, seg->ino, seg->offset, seg->fnIdx,
- (Int)seg->mark, name
+ name
);
}
@@ -703,9 +703,6 @@
/* No zero sized segments and no wraparounds. */
if (s->start >= s->end) return False;
- /* .mark is used for admin purposes only. */
- if (s->mark) return False;
-
/* require page alignment */
if (!VG_IS_PAGE_ALIGNED(s->start)) return False;
if (!VG_IS_PAGE_ALIGNED(s->end+1)) return False;
@@ -1542,7 +1539,6 @@
seg->offset = 0;
seg->fnIdx = -1;
seg->hasR = seg->hasW = seg->hasX = seg->hasT = seg->isCH = False;
- seg->mark = False;
}
/* Make an NSegment which holds a reservation. */
Modified: trunk/include/pub_tool_aspacemgr.h
==============================================================================
--- trunk/include/pub_tool_aspacemgr.h (original)
+++ trunk/include/pub_tool_aspacemgr.h Tue Jan 27 20:46:19 2015
@@ -112,8 +112,6 @@
Bool hasT; // True --> translations have (or MAY have)
// been taken from this segment
Bool isCH; // True --> is client heap (SkAnonC ONLY)
- /* Admin */
- Bool mark;
}
NSegment;
|