aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/LTOModule.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-02 00:31:14 +0000
committerOwen Anderson <resistor@mac.com>2009-07-02 00:31:14 +0000
commit0e7a54672cf346ee7c4aae10822c74f7c74f3fed (patch)
tree69c161120ebf5ea3e8f5d7a20a26ca90cc78b193 /tools/lto/LTOModule.h
parent6d8f1263f40e6b8fc2cd5cce3dfd9ce99fe09226 (diff)
Maintain the old LTO API, by using the global context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOModule.h')
-rw-r--r--tools/lto/LTOModule.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/lto/LTOModule.h b/tools/lto/LTOModule.h
index 367ad1026f..8fd3915e28 100644
--- a/tools/lto/LTOModule.h
+++ b/tools/lto/LTOModule.h
@@ -32,7 +32,6 @@ namespace llvm {
class GlobalValue;
class Value;
class Function;
- class LLVMContext;
}
@@ -52,10 +51,8 @@ public:
const char* triplePrefix);
static LTOModule* makeLTOModule(const char* path,
- llvm::LLVMContext& Context,
std::string& errMsg);
static LTOModule* makeLTOModule(const void* mem, size_t length,
- llvm::LLVMContext& Context,
std::string& errMsg);
const char* getTargetTriple();
@@ -91,7 +88,6 @@ private:
const char* triplePrefix);
static LTOModule* makeLTOModule(llvm::MemoryBuffer* buffer,
- llvm::LLVMContext& Context,
std::string& errMsg);
static llvm::MemoryBuffer* makeBuffer(const void* mem, size_t length);