Rename method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25571 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index 6a3251d..e57101a 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/lib/Bytecode/Reader/Reader.cpp
@@ -2111,7 +2111,7 @@
// If the file has module-level inline asm, read it now.
if (!hasAlignment && At != BlockEnd)
- TheModule->setInlineAsm(read_str());
+ TheModule->setModuleInlineAsm(read_str());
}
// If any globals are in specified sections, assign them now.
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index ec0b250..bfbce91 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -1032,7 +1032,7 @@
output(SectionNames[i]);
// Output the inline asm string.
- output(M->getInlineAsm());
+ output(M->getModuleInlineAsm());
}
void BytecodeWriter::outputInstructions(const Function *F) {