clean up code with new API.

llvm-svn: 68699
This commit is contained in:
Zhongxing Xu 2009-04-09 06:56:25 +00:00
parent 2945210d71
commit 726876b385
1 changed files with 2 additions and 4 deletions

View File

@ -2758,11 +2758,9 @@ void GRExprEngine::VisitBinaryOperator(BinaryOperator* B,
&& (Loc::IsLocType(T) ||
(T->isScalarType() && T->isIntegerType()))) {
unsigned Count = Builder->getCurrentBlockCount();
SymbolRef Sym = SymMgr.getConjuredSymbol(B->getRHS(), Count);
RightV = Loc::IsLocType(T)
? cast<SVal>(loc::SymbolVal(Sym))
: cast<SVal>(nonloc::SymbolVal(Sym));
RightV = SVal::GetConjuredSymbolVal(SymMgr,
getStoreManager().getRegionManager(), B->getRHS(), Count);
}
// Simulate the effects of a "store": bind the value of the RHS