summaryrefslogtreecommitdiff
path: root/include/llvm/Support/NoFolder.h
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2011-04-03 19:46:28 +0000
committerFrits van Bommel <fvbommel@gmail.com>2011-04-03 19:46:28 +0000
commitc12d4c93f94e271d32e60fae1d521c4fca39ae1e (patch)
treee745c1784608e7b073bf45f293f2ffe5d4bccd44 /include/llvm/Support/NoFolder.h
parentf63ea6fefced0a883f716937d399b26d51c491cc (diff)
downloadllvm-c12d4c93f94e271d32e60fae1d521c4fca39ae1e.tar.gz
llvm-c12d4c93f94e271d32e60fae1d521c4fca39ae1e.tar.bz2
llvm-c12d4c93f94e271d32e60fae1d521c4fca39ae1e.tar.xz
Remove the LLVMContext& arguments from *Folder constructors, as they don't seem to be used anywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/NoFolder.h')
-rw-r--r--include/llvm/Support/NoFolder.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/Support/NoFolder.h
index 92a9fd695e..5ead26ec25 100644
--- a/include/llvm/Support/NoFolder.h
+++ b/include/llvm/Support/NoFolder.h
@@ -27,12 +27,10 @@
namespace llvm {
-class LLVMContext;
-
/// NoFolder - Create "constants" (actually, instructions) with no folding.
class NoFolder {
public:
- explicit NoFolder(LLVMContext &) {}
+ explicit NoFolder() {}
//===--------------------------------------------------------------------===//
// Binary Operators