aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCContext.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-12 18:44:54 +0000
committerChris Lattner <sabre@nondot.org>2010-03-12 18:44:54 +0000
commit5ef31a039dbb9c36cfd78442b3554d1b6974ec4c (patch)
treea99e4557d23e694b6d6e3d13ad43f6ed3791f1d1 /include/llvm/MC/MCContext.h
parentfdab14b10564283028e9bdb628d095feae7fa071 (diff)
make the mangler take an MCContext instead of an MAI.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCContext.h')
-rw-r--r--include/llvm/MC/MCContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h
index c4f009ff05..b62fefaace 100644
--- a/include/llvm/MC/MCContext.h
+++ b/include/llvm/MC/MCContext.h
@@ -48,7 +48,7 @@ namespace llvm {
/// objects.
BumpPtrAllocator Allocator;
public:
- MCContext(const MCAsmInfo &MAI);
+ explicit MCContext(const MCAsmInfo &MAI);
~MCContext();
const MCAsmInfo &getAsmInfo() const { return MAI; }