mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Add a convenince member function for appending strings to a module's
module-level asm string data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
837a600a90
commit
bc9d89e6a2
@ -174,6 +174,13 @@ public:
|
|||||||
/// Set the module-scope inline assembly blocks.
|
/// Set the module-scope inline assembly blocks.
|
||||||
void setModuleInlineAsm(const std::string &Asm) { GlobalScopeAsm = Asm; }
|
void setModuleInlineAsm(const std::string &Asm) { GlobalScopeAsm = Asm; }
|
||||||
|
|
||||||
|
/// Append to the module-scope inline assembly blocks, automatically
|
||||||
|
/// appending a newline to the end.
|
||||||
|
void appendModuleInlineAsm(const std::string &Asm) {
|
||||||
|
GlobalScopeAsm += Asm;
|
||||||
|
GlobalScopeAsm += '\n';
|
||||||
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Function Accessors
|
/// @name Function Accessors
|
||||||
/// @{
|
/// @{
|
||||||
|
Loading…
Reference in New Issue
Block a user