projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.
[oota-llvm.git]
/
lib
/
Target
/
Sparc
/
SparcRegisterInfo.cpp
diff --git
a/lib/Target/Sparc/SparcRegisterInfo.cpp
b/lib/Target/Sparc/SparcRegisterInfo.cpp
index ab3c25e34348f00a53e2f8ff71cb80f4be708f32..2acce3d15b79ffde9874ac38a1e2ab5b1a18149d 100644
(file)
--- a/
lib/Target/Sparc/SparcRegisterInfo.cpp
+++ b/
lib/Target/Sparc/SparcRegisterInfo.cpp
@@
-169,27
+169,27
@@
void SparcRegisterInfo::emitEpilogue(MachineFunction &MF,
}
unsigned SparcRegisterInfo::getRARegister() const {
}
unsigned SparcRegisterInfo::getRARegister() const {
-
LLVM_UNREACHABLE
("What is the return address register");
+
llvm_unreachable
("What is the return address register");
return 0;
}
unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const {
return 0;
}
unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const {
-
LLVM_UNREACHABLE
("What is the frame register");
+
llvm_unreachable
("What is the frame register");
return SP::G1;
}
unsigned SparcRegisterInfo::getEHExceptionRegister() const {
return SP::G1;
}
unsigned SparcRegisterInfo::getEHExceptionRegister() const {
-
LLVM_UNREACHABLE
("What is the exception register");
+
llvm_unreachable
("What is the exception register");
return 0;
}
unsigned SparcRegisterInfo::getEHHandlerRegister() const {
return 0;
}
unsigned SparcRegisterInfo::getEHHandlerRegister() const {
-
LLVM_UNREACHABLE
("What is the exception handler register");
+
llvm_unreachable
("What is the exception handler register");
return 0;
}
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
return 0;
}
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
-
LLVM_UNREACHABLE
("What is the dwarf register number");
+
llvm_unreachable
("What is the dwarf register number");
return -1;
}
return -1;
}