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 | c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6 (patch) | |
tree | 5b816fae8992386047f06148379eb2d8733649e2 /lib/Target/Alpha/Alpha.h | |
parent | 1d5562f72e3f7d9e17a2bf95afa54a98dac95894 (diff) | |
download | external_llvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.zip external_llvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.tar.gz external_llvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/Alpha.h')
-rw-r--r-- | lib/Target/Alpha/Alpha.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/Alpha.h b/lib/Target/Alpha/Alpha.h index 40725af..77b404f 100644 --- a/lib/Target/Alpha/Alpha.h +++ b/lib/Target/Alpha/Alpha.h @@ -25,7 +25,7 @@ namespace llvm { class MachineCodeEmitter; FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM); - FunctionPass *createAlphaISelDag(TargetMachine &TM); + FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM); FunctionPass *createAlphaCodePrinterPass(std::ostream &OS, TargetMachine &TM); FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); |