diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
commit | babf11f249c7c6399c66f2567d4e7efa9c37a9c3 (patch) | |
tree | 816778a63435b4ba76dc9c06038b28739fcf38f1 /include/llvm/Target | |
parent | 33540adca55b95a5fdbb0dc783ded319a90b4bc1 (diff) | |
download | external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.gz external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.bz2 external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.zip |
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetMachineRegistry.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetMachineRegistry.h b/include/llvm/Target/TargetMachineRegistry.h index 2607ad5e63..280db90ced 100644 --- a/include/llvm/Target/TargetMachineRegistry.h +++ b/include/llvm/Target/TargetMachineRegistry.h @@ -70,7 +70,7 @@ namespace llvm { /// The type 'TargetMachineImpl' should provide a constructor with two /// parameters: /// - const Module& M: the module that is being compiled: - /// - const std::string& FS: target-specific string describing target + /// - const std::string& fs: target-specific string describing target /// flavour. template<class TargetMachineImpl> @@ -86,8 +86,8 @@ namespace llvm { TargetMachineRegistry::entry Entry; TargetMachineRegistry::node Node; - static TargetMachine *Allocator(const Module &M, const std::string &FS) { - return new TargetMachineImpl(M, FS); + static TargetMachine *Allocator(const Module &M, const std::string &fs) { + return new TargetMachineImpl(M, fs); } }; |