diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-25 18:57:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-25 18:57:27 +0000 |
commit | 863517aea0b06770c809396be985c1c4cc50d3c4 (patch) | |
tree | c39ef3d1eac212de36fbe51bb52a4308d559051d /lib/VMCore/AsmWriter.cpp | |
parent | ee4a76563a84839453588104e94d4891fc44d625 (diff) | |
download | external_llvm-863517aea0b06770c809396be985c1c4cc50d3c4.zip external_llvm-863517aea0b06770c809396be985c1c4cc50d3c4.tar.gz external_llvm-863517aea0b06770c809396be985c1c4cc50d3c4.tar.bz2 |
Change inline asms to be uniqued like constants, not embedded in a Module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index c6a3845..a5ac8f0 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -21,6 +21,7 @@ #include "llvm/CallingConv.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" +#include "llvm/InlineAsm.h" #include "llvm/Instruction.h" #include "llvm/Instructions.h" #include "llvm/Module.h" @@ -1270,9 +1271,6 @@ void Function::print(std::ostream &o, AssemblyAnnotationWriter *AAW) const { } void InlineAsm::print(std::ostream &o, AssemblyAnnotationWriter *AAW) const { - SlotMachine SlotTable(getParent()); - AssemblyWriter W(o, SlotTable, getParent(), AAW); - assert(0 && "Inline asm printing unimplemented!"); //W.write(this); } |