From f191c80cd79ee35e47b5a4feed98d687782dfe85 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 11 Nov 2007 19:50:10 +0000 Subject: Use TableGen to emit information for dwarf register numbers. This makes DwarfRegNum to accept list of numbers instead. Added three different "flavours", but only slightly tested on x86-32/linux. Please check another subtargets if possible, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43997 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsRegisterInfo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Target/Mips/MipsRegisterInfo.cpp') diff --git a/lib/Target/Mips/MipsRegisterInfo.cpp b/lib/Target/Mips/MipsRegisterInfo.cpp index 711a9cfde7..ed9f7e23ef 100644 --- a/lib/Target/Mips/MipsRegisterInfo.cpp +++ b/lib/Target/Mips/MipsRegisterInfo.cpp @@ -538,5 +538,11 @@ getEHHandlerRegister() const { return 0; } +int MipsRegisterInfo:: +getDwarfRegNum(unsigned RegNum) const { + assert(0 && "What is the dwarf register number"); + return -1; +} + #include "MipsGenRegisterInfo.inc" -- cgit v1.2.3-70-g09d2