diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-27 05:13:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-27 05:13:54 +0000 |
commit | 13513b7a50f5b4497c276796e00ef9bae730d8e0 (patch) | |
tree | a554369d6ac3d4afb7e7d512320982a8c5824d13 /lib/CodeGen/SelectionDAG/CallingConvLower.cpp | |
parent | 362e98a5f5cf1919ac6435ff5b630b58ecd95fc5 (diff) |
Minor refactoring of CC Lowering interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/CallingConvLower.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/CallingConvLower.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp b/lib/CodeGen/SelectionDAG/CallingConvLower.cpp index 47d08376bb..b045fcb818 100644 --- a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp +++ b/lib/CodeGen/SelectionDAG/CallingConvLower.cpp @@ -14,9 +14,12 @@ #include "llvm/CodeGen/CallingConvLower.h" #include "llvm/Target/MRegisterInfo.h" +#include "llvm/Target/TargetMachine.h" using namespace llvm; -CCState::CCState(const MRegisterInfo &mri) : MRI(mri) { +CCState::CCState(unsigned CC, const TargetMachine &tm, + SmallVector<CCValAssign, 16> &locs) + : CallingConv(CC), TM(tm), MRI(*TM.getRegisterInfo()), Locs(locs) { // No stack is used. StackOffset = 0; |