add default ctor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-09 06:44:01 +00:00
parent ff7727f4f7
commit f9dc699c42

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.