diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-26 00:42:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-26 00:42:34 +0000 |
commit | 28c85a81a17dd719a254dc00cbeb484774893197 (patch) | |
tree | d3f4bf9e2f490ad1b311eb2e4716e86451f0d6aa /tools | |
parent | 06825978176a1438578ab0bf538e705de6a295c1 (diff) | |
download | external_llvm-28c85a81a17dd719a254dc00cbeb484774893197.zip external_llvm-28c85a81a17dd719a254dc00cbeb484774893197.tar.gz external_llvm-28c85a81a17dd719a254dc00cbeb484774893197.tar.bz2 |
Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to createMCObjectStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 90d0707..30942b4 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -370,7 +370,7 @@ static int AssembleInput(const char *ProgName) { MCCodeEmitter *CE = 0; MCAsmBackend *MAB = 0; if (ShowEncoding) { - CE = TheTarget->createCodeEmitter(*MCII, *STI, Ctx); + CE = TheTarget->createMCCodeEmitter(*MCII, *STI, Ctx); MAB = TheTarget->createMCAsmBackend(TripleName); } Str.reset(TheTarget->createAsmStreamer(Ctx, FOS, /*asmverbose*/true, @@ -381,11 +381,11 @@ static int AssembleInput(const char *ProgName) { Str.reset(createNullStreamer(Ctx)); } else { assert(FileType == OFT_ObjectFile && "Invalid file type!"); - MCCodeEmitter *CE = TheTarget->createCodeEmitter(*MCII, *STI, Ctx); + MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *STI, Ctx); MCAsmBackend *MAB = TheTarget->createMCAsmBackend(TripleName); - Str.reset(TheTarget->createObjectStreamer(TripleName, Ctx, *MAB, - FOS, CE, RelaxAll, - NoExecStack)); + Str.reset(TheTarget->createMCObjectStreamer(TripleName, Ctx, *MAB, + FOS, CE, RelaxAll, + NoExecStack)); } if (EnableLogging) { |