diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 05:31:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 05:31:23 +0000 |
commit | 88c2fa96be989571b4afb6229f0ef5a3ef4450cb (patch) | |
tree | e450bb6c26bf5f605c48c23d465f8929f7a1167a /lib/CodeGen/ABIInfo.h | |
parent | 90f255356e4abc03287d35d323a1af0127dfcfd2 (diff) |
Move ABIArgInfo into CGFunctionInfo, computed on creation.
- Still have to convert some consumers over.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r-- | lib/CodeGen/ABIInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h index 4b33c4e806..e0917f77e0 100644 --- a/lib/CodeGen/ABIInfo.h +++ b/lib/CodeGen/ABIInfo.h @@ -10,6 +10,10 @@ #ifndef CLANG_CODEGEN_ABIINFO_H #define CLANG_CODEGEN_ABIINFO_H +namespace llvm { + class Type; +} + namespace clang { /* FIXME: All of this stuff should be part of the target interface somehow. It is currently here because it is not clear how to factor @@ -59,6 +63,8 @@ namespace clang { TypeData(TD), UIntData(0) {} public: + ABIArgInfo() : TheKind(Default), TypeData(0), UIntData(0) {} + static ABIArgInfo getDefault() { return ABIArgInfo(Default); } |