diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-26 22:52:05 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-26 22:52:05 +0000 |
commit | e69170a11079504e1b20ec79296925f295dc01c0 (patch) | |
tree | 7c415eb6c14f0afb0e97e42d6ba2579dd897fb3a /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 11c6f6165b76a42da7eaf4514e419be397d7fc44 (diff) | |
download | llvm-e69170a11079504e1b20ec79296925f295dc01c0.zip llvm-e69170a11079504e1b20ec79296925f295dc01c0.tar.gz llvm-e69170a11079504e1b20ec79296925f295dc01c0.tar.bz2 |
Revert "Introduce a string_ostream string builder facilty"
Temporarily back out commits r211749, r211752 and r211754.
llvm-svn: 211814
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 20210ad..6138aef 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -465,8 +465,9 @@ MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, const char *Prefix = isLinkerPrivate ? DL->getLinkerPrivateGlobalPrefix() : DL->getPrivateGlobalPrefix(); - small_string_ostream<60> Name; - Name << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; + SmallString<60> Name; + raw_svector_ostream(Name) + << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; return Ctx.GetOrCreateSymbol(Name.str()); } |