diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-18 05:53:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-18 05:53:58 +0000 |
commit | 8d6b42e096702c36bd045a145c8dc7e1271c585d (patch) | |
tree | 961ee24b4324187e3871bc8ee1e5d4d46eacae89 /clang/lib/Analysis/GRSimpleVals.cpp | |
parent | eee1f57ceabb07224dce905c9370e1f1135581c3 (diff) | |
download | bcm5719-llvm-8d6b42e096702c36bd045a145c8dc7e1271c585d.tar.gz bcm5719-llvm-8d6b42e096702c36bd045a145c8dc7e1271c585d.zip |
Created ValueStateSet class to manage the creation of multiple states by a method.
Modified the new EvalBinOpNN to generate states instead of nodes. This is a much simpler interface and is what clients will want to do.
llvm-svn: 53750
Diffstat (limited to 'clang/lib/Analysis/GRSimpleVals.cpp')
-rw-r--r-- | clang/lib/Analysis/GRSimpleVals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/GRSimpleVals.cpp b/clang/lib/Analysis/GRSimpleVals.cpp index e3ba0f3c4ab..f95ccb564f7 100644 --- a/clang/lib/Analysis/GRSimpleVals.cpp +++ b/clang/lib/Analysis/GRSimpleVals.cpp @@ -450,10 +450,10 @@ RVal GRSimpleVals::EvalComplement(GRExprEngine& Eng, NonLVal X) { // Binary operators. -RVal GRSimpleVals::EvalBinOp(GRExprEngine& Eng, BinaryOperator::Opcode Op, - NonLVal L, NonLVal R) { +RVal GRSimpleVals::EvalBinOp(ValueStateManager& StateMgr, + BinaryOperator::Opcode Op, NonLVal L, NonLVal R) { - BasicValueFactory& BasicVals = Eng.getBasicVals(); + BasicValueFactory& BasicVals = StateMgr.getBasicVals(); while (1) { |