add default ctor.

llvm-svn: 75114
This commit is contained in:
Chris Lattner 2009-07-09 06:44:01 +00:00
parent 770e0429be
commit 41c6ad592e
1 changed files with 1 additions and 0 deletions

View 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.