mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Verifier: Make the raw_ostream constructor argument required
This was passed inconsistently; seems clearer to make it required anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f548941ee0
commit
7c068cfe9a
@ -181,7 +181,7 @@ class Verifier : public InstVisitor<Verifier>, VerifierSupport {
|
||||
DenseMap<Function *, std::pair<unsigned, unsigned>> FrameEscapeInfo;
|
||||
|
||||
public:
|
||||
explicit Verifier(raw_ostream &OS = dbgs())
|
||||
explicit Verifier(raw_ostream &OS)
|
||||
: VerifierSupport(OS), Context(nullptr), PersonalityFn(nullptr),
|
||||
SawFrameEscape(false) {}
|
||||
|
||||
@ -3112,7 +3112,7 @@ struct VerifierLegacyPass : public FunctionPass {
|
||||
Verifier V;
|
||||
bool FatalErrors;
|
||||
|
||||
VerifierLegacyPass() : FunctionPass(ID), FatalErrors(true) {
|
||||
VerifierLegacyPass() : FunctionPass(ID), V(dbgs()), FatalErrors(true) {
|
||||
initializeVerifierLegacyPassPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
explicit VerifierLegacyPass(bool FatalErrors)
|
||||
|
Loading…
x
Reference in New Issue
Block a user