Return null on failure, instead of aborting.
[oota-llvm.git] / lib / VMCore / InstrTypes.cpp
index d167669edd8be8758047a32c339f73218a9f55da..954719aa95070aae6b73a402213c899122b10670 100644 (file)
@@ -20,7 +20,7 @@ TerminatorInst::TerminatorInst(Instruction::TermOps iType)
 }
 
 TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType,
-                              const std::string &Name = "")
+                              const std::string &Name)
   : Instruction(Ty, iType, Name) {
 }