diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:59:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:59:24 +0000 |
| commit | 8c21ffdcc60fe8489c5dd3a151ef026a90625bfc (patch) | |
| tree | bd5e3f99474979135461a8730c74ae05ac48c183 /llvm/include | |
| parent | c8f7717808df07c096107cb397a91e0772bca028 (diff) | |
| download | bcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.tar.gz bcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.zip | |
Change CurrentFnSym to be a non-const pointer since asmprinter mutates it
as it emits code. Switch .globl directives to use OutStreamer instead of
doing it textually (in x86)
llvm-svn: 93700
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index f327785c7cc..0f279400969 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -136,7 +136,7 @@ namespace llvm { /// The symbol for the current function. This is recalculated at the /// beginning of each call to runOnMachineFunction(). /// - const MCSymbol *CurrentFnSym; + MCSymbol *CurrentFnSym; /// getCurrentSection() - Return the current section we are emitting to. const MCSection *getCurrentSection() const; |

