mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2531a6415f
commit
0c1eac8129
@ -84,8 +84,12 @@ MachineFunction::~MachineFunction() {
|
|||||||
MFInfo->~MachineFunctionInfo();
|
MFInfo->~MachineFunctionInfo();
|
||||||
Allocator.Deallocate(MFInfo);
|
Allocator.Deallocate(MFInfo);
|
||||||
}
|
}
|
||||||
FrameInfo->~MachineFrameInfo(); Allocator.Deallocate(FrameInfo);
|
|
||||||
ConstantPool->~MachineConstantPool(); Allocator.Deallocate(ConstantPool);
|
FrameInfo->~MachineFrameInfo();
|
||||||
|
Allocator.Deallocate(FrameInfo);
|
||||||
|
|
||||||
|
ConstantPool->~MachineConstantPool();
|
||||||
|
Allocator.Deallocate(ConstantPool);
|
||||||
|
|
||||||
if (JumpTableInfo) {
|
if (JumpTableInfo) {
|
||||||
JumpTableInfo->~MachineJumpTableInfo();
|
JumpTableInfo->~MachineJumpTableInfo();
|
||||||
@ -411,7 +415,6 @@ unsigned MachineFunction::addLiveIn(unsigned PReg,
|
|||||||
MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx,
|
MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx,
|
||||||
bool isLinkerPrivate) const {
|
bool isLinkerPrivate) const {
|
||||||
assert(JumpTableInfo && "No jump tables");
|
assert(JumpTableInfo && "No jump tables");
|
||||||
|
|
||||||
assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!");
|
assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!");
|
||||||
const MCAsmInfo &MAI = *getTarget().getMCAsmInfo();
|
const MCAsmInfo &MAI = *getTarget().getMCAsmInfo();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user