From 0dbe227feccf6a8dbadfff8ca3f80416b7bf2f28 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 8 Sep 2008 21:33:45 +0000 Subject: 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 --- lib/CodeGen/CodeGenFunction.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') 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 #include +#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, 16> CallArgList; - /// EmitCallArg - Emit the given expression and append the result /// onto the given Args list. void EmitCallArg(const Expr *E, CallArgList &Args); -- cgit v1.2.3