diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2008-04-16 20:10:13 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2008-04-16 20:10:13 +0000 |
commit | 52e724ad7e679ee590f4bd763d55280586a8f1bc (patch) | |
tree | 17e026641b730ae73981f77df025c5543c674201 /lib/Target/X86/X86RegisterInfo.h | |
parent | dc00858e11d243bd2c7cb39bbb92c557b123573e (diff) | |
download | external_llvm-52e724ad7e679ee590f4bd763d55280586a8f1bc.zip external_llvm-52e724ad7e679ee590f4bd763d55280586a8f1bc.tar.gz external_llvm-52e724ad7e679ee590f4bd763d55280586a8f1bc.tar.bz2 |
Infrastructure for getting the machine code size of a function and an instruction. X86, PowerPC and ARM are implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h index 20d6556..d435c33 100644 --- a/lib/Target/X86/X86RegisterInfo.h +++ b/lib/Target/X86/X86RegisterInfo.h @@ -84,7 +84,7 @@ public: /// getX86RegNum - Returns the native X86 register number for the given LLVM /// register identifier. - unsigned getX86RegNum(unsigned RegNo) const; + static unsigned getX86RegNum(unsigned RegNo); unsigned getStackAlignment() const { return StackAlign; } |