From 288c99440304b4dfcd9ab05bcf56e8a30b04de4e 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. llvm-svn: 35832 --- llvm/include/llvm/Target/TargetLowering.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index 139580a7dfc1..97b12b4d40ce 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/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