summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstSelectPattern.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-13 18:18:15 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-13 18:18:15 +0000
commit89207943a1737ea050b5f34c9738589963a1977e (patch)
treecc1e1b558c32dc038f7c091195cb67a14fbfaaac /llvm/lib/Target/X86/InstSelectPattern.cpp
parentaa5866463973dee3bc32dd37b3796763607460d4 (diff)
downloadbcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.tar.gz
bcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.zip
Factory methods for FunctionPasses now return type FunctionPass *.
llvm-svn: 7823
Diffstat (limited to 'llvm/lib/Target/X86/InstSelectPattern.cpp')
-rw-r--r--llvm/lib/Target/X86/InstSelectPattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectPattern.cpp b/llvm/lib/Target/X86/InstSelectPattern.cpp
index 4b9e381ec17..680cc8fc6c7 100644
--- a/llvm/lib/Target/X86/InstSelectPattern.cpp
+++ b/llvm/lib/Target/X86/InstSelectPattern.cpp
@@ -112,6 +112,6 @@ void ISel::expandArguments(SelectionDAG &SD, MachineFunction &F) {
/// into a machine code representation using pattern matching and a machine
/// description file.
///
-Pass *createX86PatternInstructionSelector(TargetMachine &TM) {
+FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM) {
return new ISel(TM);
}
OpenPOWER on IntegriCloud