Move definition of GRExprEngine::ProcessEndPath() out-of-line.

llvm-svn: 88729
This commit is contained in:
Ted Kremenek 2009-11-14 01:05:20 +00:00
parent 24b027401e
commit 1a0dd2e30b
2 changed files with 8 additions and 4 deletions

View File

@ -274,10 +274,7 @@ public:
/// ProcessEndPath - Called by GRCoreEngine. Used to generate end-of-path /// ProcessEndPath - Called by GRCoreEngine. Used to generate end-of-path
/// nodes when the control reaches the end of a function. /// nodes when the control reaches the end of a function.
void ProcessEndPath(GREndPathNodeBuilder& builder) { void ProcessEndPath(GREndPathNodeBuilder& builder);
getTF().EvalEndPath(*this, builder);
StateMgr.EndPath(builder.getState());
}
GRStateManager& getStateManager() { return StateMgr; } GRStateManager& getStateManager() { return StateMgr; }
const GRStateManager& getStateManager() const { return StateMgr; } const GRStateManager& getStateManager() const { return StateMgr; }

View File

@ -896,6 +896,13 @@ void GRExprEngine::VisitGuardedExpr(Expr* Ex, Expr* L, Expr* R,
MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, X, true)); MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, X, true));
} }
/// ProcessEndPath - Called by GRCoreEngine. Used to generate end-of-path
/// nodes when the control reaches the end of a function.
void GRExprEngine::ProcessEndPath(GREndPathNodeBuilder& builder) {
getTF().EvalEndPath(*this, builder);
StateMgr.EndPath(builder.getState());
}
/// ProcessSwitch - Called by GRCoreEngine. Used to generate successor /// ProcessSwitch - Called by GRCoreEngine. Used to generate successor
/// nodes by processing the 'effects' of a switch statement. /// nodes by processing the 'effects' of a switch statement.
void GRExprEngine::ProcessSwitch(GRSwitchNodeBuilder& builder) { void GRExprEngine::ProcessSwitch(GRSwitchNodeBuilder& builder) {