diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-11 22:53:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-11 22:53:35 +0000 |
commit | c18409aed80ba1c6c5998befd3c3c8edc865c423 (patch) | |
tree | 85297b9076d8810b736b0bb046e8bde24e7dc436 /lib/MC/MCContext.cpp | |
parent | 42263e2e407ab7d1d805e7b41cffd7217134d3b6 (diff) |
change MCContext to always have an MCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCContext.cpp')
-rw-r--r-- | lib/MC/MCContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index cf8177c63a..46eb02f32c 100644 --- a/lib/MC/MCContext.cpp +++ b/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() { |