mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Expose target data through a method for uniformity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4901 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41db76dec2
commit
08053e46be
@ -67,6 +67,7 @@ public:
|
||||
virtual const MachineFrameInfo& getFrameInfo() const = 0;
|
||||
virtual const MachineCacheInfo& getCacheInfo() const = 0;
|
||||
virtual const MachineOptInfo& getOptInfo() const = 0;
|
||||
const TargetData &getTargetData() const { return DataLayout; }
|
||||
|
||||
/// getRegisterInfo - If register information is available, return it. If
|
||||
/// not, return null. This is kept separate from RegInfo until RegInfo gets
|
||||
|
Loading…
Reference in New Issue
Block a user