[llvm-commits] [llvm] r75114 - /llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h
Chris Lattner
sabre at nondot.org
Wed Jul 8 23:44:02 PDT 2009
Author: lattner
Date: Thu Jul 9 01:44:01 2009
New Revision: 75114
URL: http://llvm.org/viewvc/llvm-project?rev=75114&view=rev
Log:
add default ctor.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h?rev=75114&r1=75113&r2=75114&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h Thu Jul 9 01:44:01 2009
@@ -39,6 +39,7 @@
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.
More information about the llvm-commits
mailing list