forked from OSchip/llvm-project
Regression fix: Handle binary operators where both the left and right
operands are symbolic lvalues. llvm-svn: 47459
This commit is contained in:
parent
5d8fa828f1
commit
6d2bbd9467
|
@ -358,11 +358,7 @@ public:
|
|||
RVal EvalComplement(RVal X) {
|
||||
return X.isValid() ? TF->EvalComplement(ValMgr, cast<NonLVal>(X)) : X;
|
||||
}
|
||||
|
||||
RVal EvalBinOp(BinaryOperator::Opcode Op, LVal L, RVal R) {
|
||||
return R.isValid() ? TF->EvalBinOp(ValMgr, Op, L, cast<NonLVal>(R)) : R;
|
||||
}
|
||||
|
||||
|
||||
RVal EvalBinOp(BinaryOperator::Opcode Op, NonLVal L, RVal R) {
|
||||
return R.isValid() ? TF->EvalBinOp(ValMgr, Op, L, cast<NonLVal>(R)) : R;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue