summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
committerChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
commit8c21ffdcc60fe8489c5dd3a151ef026a90625bfc (patch)
treebd5e3f99474979135461a8730c74ae05ac48c183 /llvm/include
parentc8f7717808df07c096107cb397a91e0772bca028 (diff)
downloadbcm5719-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.h2
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;
OpenPOWER on IntegriCloud