diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-01 23:13:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-01 23:13:44 +0000 |
commit | 4434ed44c45c87a72b7a0bf2f91211f895022b91 (patch) | |
tree | dc0e25b2f2b2706339e64e4f654d2a442ab97018 /lib/VMCore/Module.cpp | |
parent | 82c32c42724f92b899287b4f34029eb1170c43f9 (diff) |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the
moment, that I will need to make far-reaching changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r-- | lib/VMCore/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 5ccd7ccfa3..f057e81a64 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -55,7 +55,7 @@ template class SymbolTableListTraits<GlobalAlias, Module>; // Primitive Module methods. // -Module::Module(const std::string &MID, const LLVMContext& C) +Module::Module(const std::string &MID, LLVMContext& C) : Context(C), ModuleID(MID), DataLayout("") { ValSymTab = new ValueSymbolTable(); TypeSymTab = new TypeSymbolTable(); |