aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-09-08 21:33:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-09-08 21:33:45 +0000
commit0dbe227feccf6a8dbadfff8ca3f80416b7bf2f28 (patch)
treeb2b084796bf8841734e7fec1f6aad7c547e7105b /lib/CodeGen/CodeGenFunction.h
parent6f0200e9ebf7f65df74b3cf55b4319b075b244a2 (diff)
Refactor parameter attribute handling:
- Add CGCall.h for dealing with ABI issues related to calls. - Add CGFunctionInfo and CGCallInfo for capturing ABI relevant information about functions and calls. - Isolate LLVM parameter attribute handling inside CGCall.cpp git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index b388153836..c38171a5f5 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -24,6 +24,7 @@
#include <vector>
#include <map>
+#include "CGCall.h"
#include "CGValue.h"
namespace llvm {
@@ -307,10 +308,6 @@ public:
// Scalar Expression Emission
//===--------------------------------------------------------------------===//
- /// CallArgList - Type for representing both the value and type of
- /// arguments in a call.
- typedef llvm::SmallVector<std::pair<llvm::Value*, QualType>, 16> CallArgList;
-
/// EmitCallArg - Emit the given expression and append the result
/// onto the given Args list.
void EmitCallArg(const Expr *E, CallArgList &Args);