diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-13 17:02:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-13 17:02:26 +0000 |
commit | 6b1da0ea19c12346192f5ea4d70872c13bfcc82a (patch) | |
tree | 6645c0664bcefa8289b6fc4e5b1a95f611d13dcd /lib/CodeGen/CodeGenTypes.cpp | |
parent | e2ed203b437c14de57a80d69b70164819d045d86 (diff) |
Lift out ABIInfo abstract base class.
- Currently still lives in CGCall.cpp but is intended to be the
target specific place for hooking ABI information.
- Select ABIInfo to use based on Target's prefix and pointer width.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index 4734d28207..e49281dd68 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -64,7 +64,8 @@ namespace { CodeGenTypes::CodeGenTypes(ASTContext &Ctx, llvm::Module& M, const llvm::TargetData &TD) - : Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD) { + : Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD), + TheABIInfo(0) { } CodeGenTypes::~CodeGenTypes() { |