diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-26 00:42:40 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-26 00:42:40 +0000 |
commit | 7b6def7d172e457826ddc2839fc6d4cb6d9abb7f (patch) | |
tree | 2ddce1270a40dc19e1a5be7d3b3c5ad8548d3dde /tools/driver/cc1as_main.cpp | |
parent | 3771235c9b8c34cee7c7f514f7dc406e2c05e267 (diff) |
Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to createMCObjectStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/cc1as_main.cpp')
-rw-r--r-- | tools/driver/cc1as_main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 54390a0b8c..f6f95cb5e2 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -301,7 +301,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) { MCCodeEmitter *CE = 0; MCAsmBackend *MAB = 0; if (Opts.ShowEncoding) { - CE = TheTarget->createCodeEmitter(*TM->getInstrInfo(), STI, Ctx); + CE = TheTarget->createMCCodeEmitter(*TM->getInstrInfo(), STI, Ctx); MAB = TheTarget->createMCAsmBackend(Opts.Triple); } Str.reset(TheTarget->createAsmStreamer(Ctx, *Out, /*asmverbose*/true, @@ -313,12 +313,12 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) { } else { assert(Opts.OutputType == AssemblerInvocation::FT_Obj && "Invalid file type!"); - MCCodeEmitter *CE = TheTarget->createCodeEmitter(*TM->getInstrInfo(), - STI, Ctx); + MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*TM->getInstrInfo(), + STI, Ctx); MCAsmBackend *MAB = TheTarget->createMCAsmBackend(Opts.Triple); - Str.reset(TheTarget->createObjectStreamer(Opts.Triple, Ctx, *MAB, *Out, - CE, Opts.RelaxAll, - Opts.NoExecStack)); + Str.reset(TheTarget->createMCObjectStreamer(Opts.Triple, Ctx, *MAB, *Out, + CE, Opts.RelaxAll, + Opts.NoExecStack)); Str.get()->InitSections(); } |