aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-16 22:42:17 +0000
committerChris Lattner <sabre@nondot.org>2010-04-16 22:42:17 +0000
commit2decb22222cac46bb1d9163e7b89d7e5be8ef65f (patch)
tree1b0c30e6794a3a81e34f539c6e398530b2d34648 /unittests
parentc7b65914e080b5236078e5f58ded5503226bcb71 (diff)
downloadexternal_llvm-2decb22222cac46bb1d9163e7b89d7e5be8ef65f.zip
external_llvm-2decb22222cac46bb1d9163e7b89d7e5be8ef65f.tar.gz
external_llvm-2decb22222cac46bb1d9163e7b89d7e5be8ef65f.tar.bz2
introduce a new CallGraphSCC class, and pass it around
to CallGraphSCCPass's instead of passing around a std::vector<CallGraphNode*>. No functionality change, but now we have a much tidier interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/VMCore/PassManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/VMCore/PassManagerTest.cpp b/unittests/VMCore/PassManagerTest.cpp
index bc21298..4b38910 100644
--- a/unittests/VMCore/PassManagerTest.cpp
+++ b/unittests/VMCore/PassManagerTest.cpp
@@ -154,7 +154,7 @@ namespace llvm {
struct CGPass : public PassTest<CallGraph, CallGraphSCCPass> {
public:
- virtual bool runOnSCC(std::vector<CallGraphNode*> &SCMM) {
+ virtual bool runOnSCC(CallGraphSCC &SCMM) {
EXPECT_TRUE(getAnalysisIfAvailable<TargetData>());
run();
return false;