projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Push LLVMContext through GlobalVariables and IRBuilder.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
TargetFolder.h
diff --git
a/include/llvm/Support/TargetFolder.h
b/include/llvm/Support/TargetFolder.h
index 4834a12d0a55e5603de5fe7ee35a3c84598f1825..a1b63aab84b9de4a2a719dd55e7fd2b2115223b6 100644
(file)
--- a/
include/llvm/Support/TargetFolder.h
+++ b/
include/llvm/Support/TargetFolder.h
@@
-30,7
+30,7
@@
class LLVMContext;
/// TargetFolder - Create constants with target dependent folding.
class TargetFolder {
const TargetData *TD;
/// TargetFolder - Create constants with target dependent folding.
class TargetFolder {
const TargetData *TD;
- LLVMContext
*
Context;
+ LLVMContext
*
Context;
/// Fold - Fold the constant using target specific information.
Constant *Fold(Constant *C) const {
/// Fold - Fold the constant using target specific information.
Constant *Fold(Constant *C) const {
@@
-41,7
+41,7
@@
class TargetFolder {
}
public:
}
public:
- explicit TargetFolder(const TargetData *TheTD, LLVMContext
*
C) :
+ explicit TargetFolder(const TargetData *TheTD, LLVMContext
*
C) :
TD(TheTD), Context(C) {}
//===--------------------------------------------------------------------===//
TD(TheTD), Context(C) {}
//===--------------------------------------------------------------------===//