projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4047731
)
Two more hooks for RA and FP registers
author
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 3 May 2009 13:10:40 +0000
(13:10 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 3 May 2009 13:10:40 +0000
(13:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70738
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/MSP430RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/MSP430RegisterInfo.cpp
b/lib/Target/MSP430/MSP430RegisterInfo.cpp
index 264736bc830da960336fb0041d847d4de63cf76d..1506515d97a48edab8b82ff1eed7eebadb045c3f 100644
(file)
--- a/
lib/Target/MSP430/MSP430RegisterInfo.cpp
+++ b/
lib/Target/MSP430/MSP430RegisterInfo.cpp
@@
-211,11
+211,11
@@
void MSP430RegisterInfo::emitEpilogue(MachineFunction &MF,
}
unsigned MSP430RegisterInfo::getRARegister() const {
-
assert(0 && "Not implemented yet!")
;
+
return MSP430::PCW
;
}
unsigned MSP430RegisterInfo::getFrameRegister(MachineFunction &MF) const {
-
assert(0 && "Not implemented yet!")
;
+
return hasFP(MF) ? MSP430::FPW : MSP430::SPW
;
}
int MSP430RegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {