summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-11 22:53:35 +0000
committerChris Lattner <sabre@nondot.org>2010-03-11 22:53:35 +0000
commit768ea2add24daea98730533995ce6b33f317c4f8 (patch)
treec4433fb9400f9c104fb00707c545f27c2cbe12b9 /llvm/lib/MC/MCContext.cpp
parent03627cb12c066a4aed81536a7b9f4af1a59e8fa1 (diff)
downloadbcm5719-llvm-768ea2add24daea98730533995ce6b33f317c4f8.tar.gz
bcm5719-llvm-768ea2add24daea98730533995ce6b33f317c4f8.zip
change MCContext to always have an MCAsmInfo.
llvm-svn: 98293
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index cf8177c63a1..46eb02f32cc 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -14,7 +14,7 @@
#include "llvm/ADT/Twine.h"
using namespace llvm;
-MCContext::MCContext() {
+MCContext::MCContext(const MCAsmInfo &mai) : MAI(mai), NextUniqueID(0) {
}
MCContext::~MCContext() {
OpenPOWER on IntegriCloud