summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lto/LTOCodeGenerator.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 23:13:44 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 23:13:44 +0000
commit2a15443aa800aeb61783809c8a686e5e35b1a4db (patch)
tree9d2e438d1ccb26eee4da98268d6e64a2e6c2bbe2 /llvm/tools/lto/LTOCodeGenerator.h
parent83ff184206a418387992109015ca83f220788f0d (diff)
downloadbcm5719-llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.tar.gz
bcm5719-llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.zip
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. llvm-svn: 74655
Diffstat (limited to 'llvm/tools/lto/LTOCodeGenerator.h')
-rw-r--r--llvm/tools/lto/LTOCodeGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.h b/llvm/tools/lto/LTOCodeGenerator.h
index 4603c35870d..7b0c284d4ef 100644
--- a/llvm/tools/lto/LTOCodeGenerator.h
+++ b/llvm/tools/lto/LTOCodeGenerator.h
@@ -31,7 +31,7 @@ class LTOCodeGenerator {
public:
static const char* getVersionString();
- LTOCodeGenerator(const llvm::LLVMContext& Context);
+ LTOCodeGenerator(llvm::LLVMContext& Context);
~LTOCodeGenerator();
bool addModule(class LTOModule*, std::string& errMsg);
@@ -54,7 +54,7 @@ private:
typedef llvm::StringMap<uint8_t> StringSet;
- const llvm::LLVMContext& _context;
+ llvm::LLVMContext& _context;
llvm::Linker _linker;
llvm::TargetMachine* _target;
bool _emitDwarfDebugInfo;
OpenPOWER on IntegriCloud