[llvm-commits] CVS: llvm/include/llvm/Constants.h

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 4 11:50:05 PDT 2004



Changes in directory llvm/include/llvm:

Constants.h updated: 1.54 -> 1.55
---
Log message:

Move method out of line


---
Diffs of the changes:  (+1 -3)

Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.54 llvm/include/llvm/Constants.h:1.55
--- llvm/include/llvm/Constants.h:1.54	Wed Aug  4 03:47:21 2004
+++ llvm/include/llvm/Constants.h	Wed Aug  4 13:49:52 2004
@@ -518,9 +518,7 @@
   /// 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.






More information about the llvm-commits mailing list