summaryrefslogtreecommitdiff
path: root/tools/bugpoint-passes/TestPasses.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint-passes/TestPasses.cpp')
-rw-r--r--tools/bugpoint-passes/TestPasses.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/bugpoint-passes/TestPasses.cpp b/tools/bugpoint-passes/TestPasses.cpp
index 4ae23f5b76..1535b03885 100644
--- a/tools/bugpoint-passes/TestPasses.cpp
+++ b/tools/bugpoint-passes/TestPasses.cpp
@@ -41,12 +41,12 @@ namespace {
return false;
}
};
+}
- char CrashOnCalls::ID = 0;
- RegisterPass<CrashOnCalls>
+char CrashOnCalls::ID = 0;
+static RegisterPass<CrashOnCalls>
X("bugpoint-crashcalls",
"BugPoint Test Pass - Intentionally crash on CallInsts");
-}
namespace {
/// DeleteCalls - This pass is used to test bugpoint. It intentionally
@@ -67,9 +67,9 @@ namespace {
return false;
}
};
+}
- char DeleteCalls::ID = 0;
- RegisterPass<DeleteCalls>
+char DeleteCalls::ID = 0;
+static RegisterPass<DeleteCalls>
Y("bugpoint-deletecalls",
"BugPoint Test Pass - Intentionally 'misoptimize' CallInsts");
-}