add a default ctor for AddrMode.
authorChris Lattner <sabre@nondot.org>
Mon, 9 Apr 2007 21:18:34 +0000 (21:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Apr 2007 21:18:34 +0000 (21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35832 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 139580a7dfc183de82f966d77bbd95ba8f46aaa4..97b12b4d40ce850433b15a9922b2e1e274f8cbc6 100644 (file)
@@ -872,6 +872,7 @@ public:
     int64_t      BaseOffs;
     bool         HasBaseReg;
     int64_t      Scale;
+    AddrMode() : BaseGV(0), BaseOffs(0), HasBaseReg(false), Scale(0) {}
   };
   
   /// isLegalAddressingMode - Return true if the addressing mode represented by