summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r--llvm/lib/VMCore/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index 5c7f98b05bd..691f1182c3d 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -53,7 +53,7 @@
namespace { // Anonymous namespace for class
- struct Verifier : public MethodPass, InstVisitor<Verifier> {
+ struct Verifier : public FunctionPass, InstVisitor<Verifier> {
bool Broken;
Verifier() : Broken(false) {}
@@ -63,7 +63,7 @@ namespace { // Anonymous namespace for class
return false;
}
- bool runOnMethod(Function *F) {
+ bool runOnFunction(Function *F) {
visit(F);
return false;
}
OpenPOWER on IntegriCloud