aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetLowering.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-09 21:18:34 +0000
committerChris Lattner <sabre@nondot.org>2007-04-09 21:18:34 +0000
commit050d541d081e39702ea61d6151167df755fb8067 (patch)
treed4daf7e2ce7c6fe143f5bbc72230704f7cd1dec5 /include/llvm/Target/TargetLowering.h
parent24e90d3c5b65844dcd0dbeb83a92a5b35f0de4c8 (diff)
downloadexternal_llvm-050d541d081e39702ea61d6151167df755fb8067.zip
external_llvm-050d541d081e39702ea61d6151167df755fb8067.tar.gz
external_llvm-050d541d081e39702ea61d6151167df755fb8067.tar.bz2
add a default ctor for AddrMode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-rw-r--r--include/llvm/Target/TargetLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 139580a..97b12b4 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