diff options
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 2 | ||||
-rw-r--r-- | lib/Bytecode/Writer/Writer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 6a3251d68a..e57101aeb5 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -2111,7 +2111,7 @@ void BytecodeReader::ParseModuleGlobalInfo() { // 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 ec0b250dce..bfbce91c56 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp @@ -1032,7 +1032,7 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) { output(SectionNames[i]); // Output the inline asm string. - output(M->getInlineAsm()); + output(M->getModuleInlineAsm()); } void BytecodeWriter::outputInstructions(const Function *F) { |