From 050d541d081e39702ea61d6151167df755fb8067 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 9 Apr 2007 21:18:34 +0000 Subject: [PATCH] add a default ctor for AddrMode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35832 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLowering.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 139580a7dfc..97b12b4d40c 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -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 -- 2.34.1