mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
Delete the allocated vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
66f6c79450
commit
c3236753d6
@ -178,6 +178,10 @@ public:
|
||||
break;
|
||||
}
|
||||
}
|
||||
~ARMOperand() {
|
||||
if (isRegList())
|
||||
delete RegList.Registers;
|
||||
}
|
||||
|
||||
/// getStartLoc - Get the location of the first token of this operand.
|
||||
SMLoc getStartLoc() const { return StartLoc; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user