diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-17 07:53:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-17 07:53:40 +0000 |
commit | a38941d458273946594d3592ed5debdc9730db08 (patch) | |
tree | b75f95840c09b67befd6b97dba2be6e5bc311bb6 /include/llvm/CodeGen/AsmPrinter.h | |
parent | aa6e350c88b10d3cece4296be45ed6b458dcf05a (diff) | |
download | llvm-a38941d458273946594d3592ed5debdc9730db08.tar.gz llvm-a38941d458273946594d3592ed5debdc9730db08.tar.bz2 llvm-a38941d458273946594d3592ed5debdc9730db08.tar.xz |
refactor the interface to EmitInlineAsm a bit, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 7eef9567a0..5abcb2371f 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -49,6 +49,7 @@ namespace llvm { class MCSection; class MCStreamer; class MCSymbol; + class MDNode; class DwarfDebug; class DwarfException; class Mangler; @@ -432,7 +433,7 @@ namespace llvm { mutable unsigned SetCounter; /// EmitInlineAsm - Emit a blob of inline asm to the output streamer. - void EmitInlineAsm(StringRef Str, unsigned LocCookie) const; + void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0) const; /// EmitInlineAsm - This method formats and emits the specified machine /// instruction that is an inline asm. |