mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Make all of the TargetMachine subclasses use the new string TargetData methods.
This is part of the on-going work on PR 761. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -59,7 +59,7 @@ unsigned PPCTargetMachine::getModuleMatchQuality(const Module &M) {
|
||||
|
||||
PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS)
|
||||
: TargetMachine("PowerPC"),
|
||||
DataLayout("PowerPC", false, 4, 4, 4, 4, 4),
|
||||
DataLayout(std::string("PowerPC"), std::string("E-p:32:32-d:64:32-l:64:32")),
|
||||
Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this),
|
||||
TLInfo(*this), InstrItins(Subtarget.getInstrItineraryData()) {
|
||||
if (TargetDefault == PPCTarget) {
|
||||
|
||||
Reference in New Issue
Block a user