add default ctor.
authorChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 06:44:01 +0000 (06:44 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 06:44:01 +0000 (06:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75114 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstrBuilder.h

index c6a6679c1b69b0d0b4b3e178e3d71deab46667ea..73611fe7db1e5982ec23aaeb3f11084363ae7bad 100644 (file)
@@ -39,6 +39,7 @@ namespace RegState {
 class MachineInstrBuilder {
   MachineInstr *MI;
 public:
+  MachineInstrBuilder() : MI(0) {}
   explicit MachineInstrBuilder(MachineInstr *mi) : MI(mi) {}
 
   /// Allow automatic conversion to the machine instruction we are working on.