svn commit: r223023 - projects/llvm-ia64/contrib/llvm/lib/Target/IA64

Marcel Moolenaar marcel at FreeBSD.org
Sun Jun 12 22:47:04 UTC 2011


Author: marcel
Date: Sun Jun 12 22:47:04 2011
New Revision: 223023
URL: http://svn.freebsd.org/changeset/base/223023

Log:
  Fix build: Add newly introduced getLLVMRegNum().

Modified:
  projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.cpp
  projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.h

Modified: projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.cpp
==============================================================================
--- projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.cpp	Sun Jun 12 20:19:17 2011	(r223022)
+++ projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.cpp	Sun Jun 12 22:47:04 2011	(r223023)
@@ -90,6 +90,12 @@ IA64RegisterInfo::getDwarfRegNum(unsigne
   return IA64GenRegisterInfo::getDwarfRegNumFull(RegNum, 0);
 }
 
+int
+IA64RegisterInfo::getLLVMRegNum(unsigned RegNum, bool isEH) const
+{
+  llvm_unreachable(__func__);
+}
+
 unsigned
 IA64RegisterInfo::getFrameRegister(const MachineFunction &MF) const
 {

Modified: projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.h
==============================================================================
--- projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.h	Sun Jun 12 20:19:17 2011	(r223022)
+++ projects/llvm-ia64/contrib/llvm/lib/Target/IA64/IA64RegisterInfo.h	Sun Jun 12 22:47:04 2011	(r223023)
@@ -30,6 +30,7 @@ namespace llvm {
         RegScavenger *RS = NULL) const;
 
     int getDwarfRegNum(unsigned RegNum, bool isEH) const;
+    int getLLVMRegNum(unsigned RegNum, bool isEH) const;
 
     unsigned getFrameRegister(const MachineFunction &MF) const;
     unsigned getRARegister() const;


More information about the svn-src-projects mailing list