diff options
| author | Owen Anderson <resistor@mac.com> | 2009-06-20 00:26:26 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-06-20 00:26:26 +0000 |
| commit | 2cda7d74bc24ee3c40cf7a0d8ba5effe069b14e7 (patch) | |
| tree | be52d8c19de1fc08237d3bd458df0dcf37f3ff64 /llvm/lib | |
| parent | 0d2de8c35e2d1860f1d7adfbec073a0adc96bce6 (diff) | |
| download | bcm5719-llvm-2cda7d74bc24ee3c40cf7a0d8ba5effe069b14e7.tar.gz bcm5719-llvm-2cda7d74bc24ee3c40cf7a0d8ba5effe069b14e7.zip | |
Forgot this file.
llvm-svn: 73802
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/ConstantFold.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/VMCore/ConstantFold.h b/llvm/lib/VMCore/ConstantFold.h index 66ca8ff31a4..49aea11870a 100644 --- a/llvm/lib/VMCore/ConstantFold.h +++ b/llvm/lib/VMCore/ConstantFold.h @@ -28,13 +28,11 @@ namespace llvm { Constant *ConstantFoldCastInstruction( unsigned opcode, ///< The opcode of the cast const Constant *V, ///< The source constant - const Type *DestTy, ///< The destination type - bool locked = true + const Type *DestTy ///< The destination type ); Constant *ConstantFoldSelectInstruction(const Constant *Cond, const Constant *V1, - const Constant *V2, - bool locked = true); + const Constant *V2); Constant *ConstantFoldExtractElementInstruction(const Constant *Val, const Constant *Idx); Constant *ConstantFoldInsertElementInstruction(const Constant *Val, @@ -51,13 +49,12 @@ namespace llvm { const unsigned* Idxs, unsigned NumIdx); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, - const Constant *V2, - bool locked = true); + const Constant *V2); Constant *ConstantFoldCompareInstruction(unsigned short predicate, const Constant *C1, const Constant *C2); - Constant *ConstantFoldGetElementPtr(const Constant *C, Constant* const *Idxs, - unsigned NumIdx, bool locked = true); + Constant *ConstantFoldGetElementPtr(const Constant *C, + Constant* const *Idxs, unsigned NumIdx); } // End llvm namespace #endif |

