diff options
-rw-r--r-- | Analysis/GRConstants.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp index 8656d776c8..bd5cb0689b 100644 --- a/Analysis/GRConstants.cpp +++ b/Analysis/GRConstants.cpp @@ -716,8 +716,7 @@ void GRConstants::VisitBinaryOperator(BinaryOperator* B, case BinaryOperator::Assign: { const LValue& L1 = cast<LValue>(V1); - const NonLValue& R2 = cast<NonLValue>(V2); - Nodify(Dst, B, N2, SetValue(SetValue(St, B, R2), L1, R2)); + Nodify(Dst, B, N2, SetValue(SetValue(St, B, V2), L1, V2)); break; } |