mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Remove an easy use of EmitRawText from PPC.
This makes lib/Target/PowerPC EmitRawText free. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -120,6 +120,9 @@ public:
|
||||
OS << S.getName();
|
||||
OS << '\n';
|
||||
}
|
||||
virtual void emitMachine(StringRef CPU) {
|
||||
OS << "\t.machine " << CPU << '\n';
|
||||
}
|
||||
};
|
||||
|
||||
class PPCTargetELFStreamer : public PPCTargetStreamer {
|
||||
@@ -127,6 +130,10 @@ class PPCTargetELFStreamer : public PPCTargetStreamer {
|
||||
// Creates a R_PPC64_TOC relocation
|
||||
Streamer->EmitSymbolValue(&S, 8);
|
||||
}
|
||||
virtual void emitMachine(StringRef CPU) {
|
||||
// FIXME: Is there anything to do in here or does this directive only
|
||||
// limit the parser?
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user