mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Move CallArgsDescriptor into this class instead of making it an
annotation on the machine instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineInstrAnnot.h"
|
||||
#include "llvm/CodeGen/InstrSelection.h"
|
||||
|
||||
AnnotationID MCFI_AID(
|
||||
@ -55,4 +56,8 @@ MachineCodeForInstruction::~MachineCodeForInstruction()
|
||||
// Free the MachineInstr objects allocated, if any.
|
||||
for (unsigned i=0, N = size(); i < N; i++)
|
||||
delete (*this)[i];
|
||||
|
||||
// Free the CallArgsDescriptor if it exists.
|
||||
if (callArgsDesc)
|
||||
delete callArgsDesc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user