diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 04:47:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 04:47:45 +0000 |
commit | 35c33bd772b3cfb34fdc6b5c9171f955454d0043 (patch) | |
tree | 763442764850298ab7321ad5b68be659d9fb60cf /utils/TableGen/AsmWriterInst.cpp | |
parent | 20adc9dc4650313f017b27d9818eb2176238113d (diff) | |
download | external_llvm-35c33bd772b3cfb34fdc6b5c9171f955454d0043.tar.gz external_llvm-35c33bd772b3cfb34fdc6b5c9171f955454d0043.tar.bz2 external_llvm-35c33bd772b3cfb34fdc6b5c9171f955454d0043.zip |
change a ton of code to not implicitly use the "O" raw_ostream
member of AsmPrinter. Instead, pass it in explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/AsmWriterInst.cpp')
-rw-r--r-- | utils/TableGen/AsmWriterInst.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/AsmWriterInst.cpp b/utils/TableGen/AsmWriterInst.cpp index 508e4530d0..b2228b037d 100644 --- a/utils/TableGen/AsmWriterInst.cpp +++ b/utils/TableGen/AsmWriterInst.cpp @@ -38,6 +38,7 @@ std::string AsmWriterOperand::getCode() const { std::string Result = Str + "(MI"; if (MIOpNo != ~0U) Result += ", " + utostr(MIOpNo); + Result += ", O"; if (!MiModifier.empty()) Result += ", \"" + MiModifier + '"'; return Result + "); "; |