diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:49:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:49:34 +0000 |
| commit | c7cea48f31bf8a9a898d0d3a9dbae410881b757f (patch) | |
| tree | 9cc656d059db0d34534fa11299c1062961a2a299 /lib/Target/PowerPC/PPCTargetAsmInfo.cpp | |
| parent | cae14fd2f334ef46b141a5e400fc43528f5e5b43 (diff) | |
| download | external_llvm-c7cea48f31bf8a9a898d0d3a9dbae410881b757f.zip external_llvm-c7cea48f31bf8a9a898d0d3a9dbae410881b757f.tar.gz external_llvm-c7cea48f31bf8a9a898d0d3a9dbae410881b757f.tar.bz2 | |
eliminate asmflavor from subtarget, PPCTAI is the only client
and each callee knows that it returns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 891252b..925e590 100644 --- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp @@ -28,8 +28,8 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM) { bool isPPC64 = Subtarget->isPPC64(); if (!isPPC64) - Data64bitsDirective = 0; // we can't emit a 64-bit unit - AssemblerDialect = Subtarget->getAsmFlavor(); + Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode. + AssemblerDialect = 0; // Old-Style mnemonics. } PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) { @@ -61,6 +61,6 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) { Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0; AlignmentIsInBytes = false; LCOMMDirective = "\t.lcomm\t"; - AssemblerDialect = Subtarget->getAsmFlavor(); + AssemblerDialect = 1; // New-Style mnemonics. } |
