[llvm-commits] [poolalloc] r132721 - in /poolalloc/trunk/include: assistDS/TypeChecks.h dsa/AddressTakenAnalysis.h
Arushi Aggarwal
aggarwa4 at illinois.edu
Tue Jun 7 11:41:30 PDT 2011
Author: aggarwa4
Date: Tue Jun 7 13:41:30 2011
New Revision: 132721
URL: http://llvm.org/viewvc/llvm-project?rev=132721&view=rev
Log:
Fix includes.
Modified:
poolalloc/trunk/include/assistDS/TypeChecks.h
poolalloc/trunk/include/dsa/AddressTakenAnalysis.h
Modified: poolalloc/trunk/include/assistDS/TypeChecks.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/assistDS/TypeChecks.h?rev=132721&r1=132720&r2=132721&view=diff
==============================================================================
--- poolalloc/trunk/include/assistDS/TypeChecks.h (original)
+++ poolalloc/trunk/include/assistDS/TypeChecks.h Tue Jun 7 13:41:30 2011
@@ -15,15 +15,17 @@
#define TYPE_CHECKS_H
#include "assistDS/TypeAnalysis.h"
-#include "dsa/TypeSafety.h"
#include "dsa/AddressTakenAnalysis.h"
#include "llvm/Instructions.h"
+#include "llvm/Function.h"
#include "llvm/Pass.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Support/CallSite.h"
#include <map>
+#include <list>
+#include <set>
namespace llvm {
@@ -44,7 +46,6 @@
// Analysis from other passes.
TargetData *TD;
TypeAnalysis *TA;
- dsa::TypeSafety<TDDataStructures> *TS;
AddressTakenAnalysis* addrAnalysis;
unsigned int getTypeMarker(const Type*);
Modified: poolalloc/trunk/include/dsa/AddressTakenAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/AddressTakenAnalysis.h?rev=132721&r1=132720&r2=132721&view=diff
==============================================================================
--- poolalloc/trunk/include/dsa/AddressTakenAnalysis.h (original)
+++ poolalloc/trunk/include/dsa/AddressTakenAnalysis.h Tue Jun 7 13:41:30 2011
@@ -16,15 +16,16 @@
#ifndef _ADDRESSTAKENANALYSIS_H
#define _ADDRESSTAKENANALYSIS_H
+#include "llvm/Pass.h"
+
+#include <string>
+#include <set>
+
namespace llvm {
class Function;
class Module;
class Instruction;
-
-#include <string>
-#include "llvm/Pass.h"
-
class AddressTakenAnalysis : public llvm::ModulePass {
std::set<Function*> addressTakenFunctions;
public:
More information about the llvm-commits
mailing list