Initialize NoRedZone and remove unused default values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2012-12-18 03:35:05 +00:00
parent 745bf82eba
commit f209dea96a

View File

@ -48,10 +48,11 @@ namespace {
UseExtraChecksum(false), NoRedZone(false) {
initializeGCOVProfilerPass(*PassRegistry::getPassRegistry());
}
GCOVProfiler(bool EmitNotes, bool EmitData, bool use402Format = false,
bool useExtraChecksum = false, bool NoRedZone = false)
GCOVProfiler(bool EmitNotes, bool EmitData, bool use402Format,
bool useExtraChecksum, bool NoRedZone_)
: ModulePass(ID), EmitNotes(EmitNotes), EmitData(EmitData),
Use402Format(use402Format), UseExtraChecksum(useExtraChecksum) {
Use402Format(use402Format), UseExtraChecksum(useExtraChecksum),
NoRedZone(NoRedZone_) {
assert((EmitNotes || EmitData) && "GCOVProfiler asked to do nothing?");
initializeGCOVProfilerPass(*PassRegistry::getPassRegistry());
}