[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 23 15:43:31 PST 2006
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.116 -> 1.117
---
Log message:
Add support for reading/writing inline asm
---
Diffs of the changes: (+3 -0)
Writer.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.116 llvm/lib/Bytecode/Writer/Writer.cpp:1.117
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.116 Sat Nov 12 12:34:09 2005
+++ llvm/lib/Bytecode/Writer/Writer.cpp Mon Jan 23 17:43:17 2006
@@ -1030,6 +1030,9 @@
output_vbr((unsigned)SectionNames.size());
for (unsigned i = 0, e = SectionNames.size(); i != e; ++i)
output(SectionNames[i]);
+
+ // Output the inline asm string.
+ output(M->getInlineAsm());
}
void BytecodeWriter::outputInstructions(const Function *F) {
More information about the llvm-commits
mailing list