mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
rename method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6631601eed
commit
3e2fa7a746
@ -72,9 +72,10 @@ void AsmPrinter::SwitchSection(const char *NewSection, const GlobalValue *GV) {
|
|||||||
bool AsmPrinter::doInitialization(Module &M) {
|
bool AsmPrinter::doInitialization(Module &M) {
|
||||||
Mang = new Mangler(M, GlobalPrefix);
|
Mang = new Mangler(M, GlobalPrefix);
|
||||||
|
|
||||||
if (!M.getInlineAsm().empty())
|
if (!M.getModuleInlineAsm().empty())
|
||||||
O << CommentString << " Start File Scope Asm Blocks:\n" << M.getInlineAsm()
|
O << CommentString << " Start of file scope inline assembly\n"
|
||||||
<< "\n" << CommentString << " End File Scope Asm Blocks\n";
|
<< M.getModuleInlineAsm()
|
||||||
|
<< "\n" << CommentString << " End of file scope inline assembly\n";
|
||||||
|
|
||||||
SwitchSection("", 0); // Reset back to no section.
|
SwitchSection("", 0); // Reset back to no section.
|
||||||
return false;
|
return false;
|
||||||
|
@ -31,7 +31,7 @@ Module *llvm::CloneModule(const Module *M) {
|
|||||||
New->setEndianness(M->getEndianness());
|
New->setEndianness(M->getEndianness());
|
||||||
New->setPointerSize(M->getPointerSize());
|
New->setPointerSize(M->getPointerSize());
|
||||||
New->setTargetTriple(M->getTargetTriple());
|
New->setTargetTriple(M->getTargetTriple());
|
||||||
New->setInlineAsm(M->getInlineAsm());
|
New->setModuleInlineAsm(M->getModuleInlineAsm());
|
||||||
|
|
||||||
// Copy all of the type symbol table entries over.
|
// Copy all of the type symbol table entries over.
|
||||||
const SymbolTable &SymTab = M->getSymbolTable();
|
const SymbolTable &SymTab = M->getSymbolTable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user