MC: Make TargetAsmBackend available to the AsmStreamer.

- Treaty talks on the non-proliferation of MC objects broke down.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2010-12-16 03:05:59 +00:00
parent 1d6547eb49
commit 745dacc91d
7 changed files with 34 additions and 13 deletions

View File

@@ -540,7 +540,8 @@ namespace llvm {
formatted_raw_ostream &OS,
bool isVerboseAsm, bool useLoc,
MCInstPrinter *IP,
MCCodeEmitter *CE, bool ShowInst) {
MCCodeEmitter *CE, TargetAsmBackend *TAB,
bool ShowInst) {
return new PTXMCAsmStreamer(Context, OS, isVerboseAsm, useLoc,
IP, CE, ShowInst);
}