[llvm-commits] CVS: llvm/lib/CodeGen/CallingConvLower.cpp
Chris Lattner
sabre at nondot.org
Mon Feb 26 21:14:16 PST 2007
Changes in directory llvm/lib/CodeGen:
CallingConvLower.cpp updated: 1.1 -> 1.2
---
Log message:
Minor refactoring of CC Lowering interfaces
---
Diffs of the changes: (+4 -1)
CallingConvLower.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/CodeGen/CallingConvLower.cpp
diff -u llvm/lib/CodeGen/CallingConvLower.cpp:1.1 llvm/lib/CodeGen/CallingConvLower.cpp:1.2
--- llvm/lib/CodeGen/CallingConvLower.cpp:1.1 Mon Feb 26 22:43:02 2007
+++ llvm/lib/CodeGen/CallingConvLower.cpp Mon Feb 26 23:13:54 2007
@@ -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;
More information about the llvm-commits
mailing list