From: Misha Brukman Date: Tue, 27 May 2003 21:46:07 +0000 (+0000) Subject: Allow allocation of a Sparc TargetMachine. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=504905fd4b5334c8763fa4b9c61e618fa68d4b8b;p=llvm Allow allocation of a Sparc TargetMachine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6364 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetMachineImpls.h b/include/llvm/Target/TargetMachineImpls.h index 4b8450eb010..5e10c5c951c 100644 --- a/include/llvm/Target/TargetMachineImpls.h +++ b/include/llvm/Target/TargetMachineImpls.h @@ -25,7 +25,8 @@ class TargetMachine; // allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine // that implements the Sparc backend. // -TargetMachine *allocateSparcTargetMachine(); +TargetMachine *allocateSparcTargetMachine(unsigned Configuration = + TM::PtrSize64|TM::BigEndian); // allocateX86TargetMachine - Allocate and return a subclass of TargetMachine // that implements the X86 backend. The X86 target machine can run in @@ -33,6 +34,6 @@ TargetMachine *allocateSparcTargetMachine(); // size and different endianness if desired. // TargetMachine *allocateX86TargetMachine(unsigned Configuration = - TM::PtrSize32|TM::LittleEndian); + TM::PtrSize32|TM::LittleEndian); #endif