diff options
| author | Dan Gohman <gohman@apple.com> | 2008-05-14 01:58:56 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-05-14 01:58:56 +0000 |
| commit | eabd647cd5a39657c7a0b09d6b148499b6a0ea93 (patch) | |
| tree | 52da73272a83bfbc56a99a1ccb6b27b52a57f7ac /llvm/lib/Target/X86/X86ISelLowering.h | |
| parent | 0f45b6fda5988719f55728cbfc70bb553c5733dd (diff) | |
| download | bcm5719-llvm-eabd647cd5a39657c7a0b09d6b148499b6a0ea93.tar.gz bcm5719-llvm-eabd647cd5a39657c7a0b09d6b148499b6a0ea93.zip | |
Change target-specific classes to use more precise static types.
This eliminates the need for several awkward casts, including
the last dynamic_cast under lib/Target.
llvm-svn: 51091
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h index 59cc5163cc2..eea10eee630 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.h +++ b/llvm/lib/Target/X86/X86ISelLowering.h @@ -311,7 +311,7 @@ namespace llvm { int BytesCallerReserves; // Number of arg bytes caller makes. public: - explicit X86TargetLowering(TargetMachine &TM); + explicit X86TargetLowering(X86TargetMachine &TM); /// getPICJumpTableRelocaBase - Returns relocation base for the given PIC /// jumptable. @@ -454,7 +454,7 @@ namespace llvm { /// Subtarget - Keep a pointer to the X86Subtarget around so that we can /// make the right decision when generating code for different targets. const X86Subtarget *Subtarget; - const TargetRegisterInfo *RegInfo; + const X86RegisterInfo *RegInfo; /// X86StackPtr - X86 physical register used as stack ptr. unsigned X86StackPtr; |

