InstrProf: Remove an unused member (NFC)

llvm-svn: 218697
This commit is contained in:
Justin Bogner 2014-09-30 20:21:50 +00:00
parent fa67adc28d
commit 916cca728f
1 changed files with 3 additions and 6 deletions

View File

@ -68,18 +68,15 @@ struct SourceMappingRegion {
/// \brief The region's ending location. /// \brief The region's ending location.
SourceLocation LocEnd, AlternativeLocEnd; SourceLocation LocEnd, AlternativeLocEnd;
unsigned Flags; unsigned Flags;
CounterMappingRegion::RegionKind Kind;
SourceMappingRegion(FileID File, FileID MacroArgumentFile, Counter Count, SourceMappingRegion(FileID File, FileID MacroArgumentFile, Counter Count,
const Stmt *UnreachableInitiator, const Stmt *Group, const Stmt *UnreachableInitiator, const Stmt *Group,
SourceLocation LocStart, SourceLocation LocEnd, SourceLocation LocStart, SourceLocation LocEnd,
unsigned Flags = 0, unsigned Flags = 0)
CounterMappingRegion::RegionKind Kind =
CounterMappingRegion::CodeRegion)
: File(File), MacroArgumentFile(MacroArgumentFile), Count(Count), : File(File), MacroArgumentFile(MacroArgumentFile), Count(Count),
UnreachableInitiator(UnreachableInitiator), Group(Group), UnreachableInitiator(UnreachableInitiator), Group(Group),
LocStart(LocStart), LocEnd(LocEnd), AlternativeLocEnd(LocStart), LocStart(LocStart), LocEnd(LocEnd), AlternativeLocEnd(LocStart),
Flags(Flags), Kind(Kind) {} Flags(Flags) {}
bool hasFlag(RegionFlags Flag) const { return (Flags & Flag) != 0; } bool hasFlag(RegionFlags Flag) const { return (Flags & Flag) != 0; }
@ -91,7 +88,7 @@ struct SourceMappingRegion {
bool isMergeable(SourceMappingRegion &R) { bool isMergeable(SourceMappingRegion &R) {
return File == R.File && MacroArgumentFile == R.MacroArgumentFile && return File == R.File && MacroArgumentFile == R.MacroArgumentFile &&
Count == R.Count && UnreachableInitiator == R.UnreachableInitiator && Count == R.Count && UnreachableInitiator == R.UnreachableInitiator &&
Group == R.Group && Kind == R.Kind; Group == R.Group;
} }
/// \brief Merge two regions by extending the 'this' region to cover the /// \brief Merge two regions by extending the 'this' region to cover the