Don't #include Pass.h from CallGraph.h.
authorDan Gohman <gohman@apple.com>
Sun, 1 Nov 2009 15:23:35 +0000 (15:23 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 1 Nov 2009 15:23:35 +0000 (15:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85715 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/CallGraph.h
lib/Analysis/IPA/CallGraph.cpp

index 287fe4faa4f560a397c7637079ec0c72cfb5fb21..cd17717909c53563977a5e59639fa7142690bc21 100644 (file)
 #define LLVM_ANALYSIS_CALLGRAPH_H
 
 #include "llvm/Function.h"
-#include "llvm/Pass.h"
 #include "llvm/ADT/GraphTraits.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/ValueHandle.h"
 #include "llvm/System/IncludeFile.h"
 #include <map>
+#include <vector>
 
 namespace llvm {
 
index 9cd8bb8c2df1b9d38be8ddce72ad6d3d83a3eb4e..ac83e4866811396c14324341384bc06975e998eb 100644 (file)
@@ -13,6 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Analysis/CallGraph.h"
+#include "llvm/Pass.h"
 #include "llvm/Module.h"
 #include "llvm/Instructions.h"
 #include "llvm/IntrinsicInst.h"