mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
simplify expression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -640,7 +640,7 @@ public:
|
|||||||
/// A DBG_VALUE is indirect iff the first operand is a register and
|
/// A DBG_VALUE is indirect iff the first operand is a register and
|
||||||
/// the second operand is an immediate.
|
/// the second operand is an immediate.
|
||||||
bool isIndirectDebugValue() const {
|
bool isIndirectDebugValue() const {
|
||||||
return (getOpcode() == TargetOpcode::DBG_VALUE)
|
return isDebugValue()
|
||||||
&& getOperand(0).isReg()
|
&& getOperand(0).isReg()
|
||||||
&& getOperand(1).isImm();
|
&& getOperand(1).isImm();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user