Add support for casting operators
[oota-llvm.git] / lib / VMCore / InstrTypes.cpp
index cda99a9446a5be88a625d689cd389d2e73e220cb..d0c410051a5bdf03c42328281f626c45a4f3f5cc 100644 (file)
 #include "llvm/Type.h"
 #include <algorithm>  // find
 
-// TODO: Move to getUnaryOperator iUnary.cpp when and if it exists!
-UnaryOperator *UnaryOperator::create(unsigned Op, Value *Source) {
-  switch (Op) {
-  default:
-    cerr << "Don't know how to GetUnaryOperator " << Op << endl;
-    return 0;
-  }
-}
-
 //===----------------------------------------------------------------------===//
 //                            TerminatorInst Class
 //===----------------------------------------------------------------------===//