commit | fd0f12e3443dab14a052aa965ab4fddf3b9a0b80 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Mar 11 22:53:35 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Mar 11 22:53:35 2010 +0000 |
tree | 85297b9076d8810b736b0bb046e8bde24e7dc436 | |
parent | 8364cff8d7ee2dfa26ae700865c31e66ccf0dd31 [diff] [blame] |
change MCContext to always have an MCAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98293 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index cf8177c..46eb02f 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() {