mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Do some cleanups suggested by Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89fccca4b0
commit
b3bc115a24
@ -15,7 +15,6 @@
|
|||||||
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
||||||
|
|
||||||
#include "llvm/Value.h"
|
#include "llvm/Value.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MachineFrameInfo;
|
class MachineFrameInfo;
|
||||||
@ -103,11 +102,9 @@ namespace llvm {
|
|||||||
|
|
||||||
virtual bool mayAlias(const MachineFrameInfo *) const;
|
virtual bool mayAlias(const MachineFrameInfo *) const;
|
||||||
|
|
||||||
virtual void printCustom(raw_ostream &OS) const {
|
virtual void printCustom(raw_ostream &OS) const;
|
||||||
OS << "FixedStack" << FI;
|
|
||||||
}
|
|
||||||
|
|
||||||
int getFrameIndex(void) const { return FI; }
|
int getFrameIndex() const { return FI; }
|
||||||
};
|
};
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
@ -109,3 +109,7 @@ bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const {
|
|||||||
// Spill slots will not alias any LLVM IR value.
|
// Spill slots will not alias any LLVM IR value.
|
||||||
return !MFI->isSpillSlotObjectIndex(FI);
|
return !MFI->isSpillSlotObjectIndex(FI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FixedStackPseudoSourceValue::printCustom(raw_ostream &OS) const {
|
||||||
|
OS << "FixedStack" << FI;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user