diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:46:07 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:46:07 +0000 |
commit | 504905fd4b5334c8763fa4b9c61e618fa68d4b8b (patch) | |
tree | 6d4f17b7e18573c7f9912b4e6633d841cbf89853 /include/llvm | |
parent | 0cc640e6c8af9c3e48d5d6a497f24d454bb7b910 (diff) |
Allow allocation of a Sparc TargetMachine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetMachineImpls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetMachineImpls.h b/include/llvm/Target/TargetMachineImpls.h index 4b8450eb01..5e10c5c951 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 |