forked from OSchip/llvm-project
GRStateManager::CurrentStmt is not used. Remove it.
llvm-svn: 87091
This commit is contained in:
parent
7d75afc56a
commit
0320ad28c7
|
@ -400,10 +400,6 @@ private:
|
|||
/// Alloc - A BumpPtrAllocator to allocate states.
|
||||
llvm::BumpPtrAllocator& Alloc;
|
||||
|
||||
/// CurrentStmt - The block-level statement currently being visited. This
|
||||
/// is set by GRExprEngine.
|
||||
Stmt* CurrentStmt;
|
||||
|
||||
/// TF - Object that represents a bundle of transfer functions
|
||||
/// for manipulating and creating SVals.
|
||||
GRTransferFuncs* TF;
|
||||
|
|
|
@ -293,9 +293,7 @@ void GRExprEngine::ProcessStmt(Stmt* S, GRStmtNodeBuilder& builder) {
|
|||
Builder = &builder;
|
||||
EntryNode = builder.getLastNode();
|
||||
|
||||
// FIXME: Consolidate.
|
||||
CurrentStmt = S;
|
||||
StateMgr.CurrentStmt = S;
|
||||
|
||||
// Set up our simple checks.
|
||||
if (BatchAuditor)
|
||||
|
@ -353,8 +351,6 @@ void GRExprEngine::ProcessStmt(Stmt* S, GRStmtNodeBuilder& builder) {
|
|||
CleanedState = NULL;
|
||||
EntryNode = NULL;
|
||||
|
||||
// FIXME: Consolidate.
|
||||
StateMgr.CurrentStmt = 0;
|
||||
CurrentStmt = 0;
|
||||
|
||||
Builder = NULL;
|
||||
|
|
Loading…
Reference in New Issue