From ff4c183790ab241b85170fdfc326a5d6959139ae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Aug 2004 18:49:52 +0000 Subject: [PATCH] Move method out of line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15497 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 08381aad98e..74541c9ef43 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -518,9 +518,7 @@ public: /// ConstantExpr::get - Return a binary or shift operator constant expression, /// folding if possible. /// - static Constant *get(unsigned Opcode, Constant *C1, Constant *C2) { - return getTy(C1->getType(), Opcode, C1, C2); - } + static Constant *get(unsigned Opcode, Constant *C1, Constant *C2); /// ConstantExpr::get* - Return some common constants without having to /// specify the full Instruction::OPCODE identifier.