mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix the comment for getClosestTargetForJIT to reflect the fact that
it does not have a Module parameter. llvm-svn: 40590
This commit is contained in:
parent
75473b49ea
commit
23f9a3ad3b
@ -36,10 +36,9 @@ namespace llvm {
|
||||
static const Entry *getClosestStaticTargetForModule(const Module &M,
|
||||
std::string &Error);
|
||||
|
||||
/// getClosestTargetForJIT - Given an LLVM module, pick the best target that
|
||||
/// is compatible with the current host and the specified module. If no
|
||||
/// close target can be found, this returns null and sets the Error string
|
||||
/// to a reason.
|
||||
/// getClosestTargetForJIT - Pick the best target that is compatible with
|
||||
/// the current host. If no close target can be found, this returns null
|
||||
/// and sets the Error string to a reason.
|
||||
static const Entry *getClosestTargetForJIT(std::string &Error);
|
||||
|
||||
|
||||
|
@ -75,10 +75,9 @@ TargetMachineRegistry::getClosestStaticTargetForModule(const Module &M,
|
||||
return UsableTargets.back().second;
|
||||
}
|
||||
|
||||
/// getClosestTargetForJIT - Given an LLVM module, pick the best target that
|
||||
/// is compatible with the current host and the specified module. If no
|
||||
/// close target can be found, this returns null and sets the Error string
|
||||
/// to a reason.
|
||||
/// getClosestTargetForJIT - Pick the best target that is compatible with
|
||||
/// the current host. If no close target can be found, this returns null
|
||||
/// and sets the Error string to a reason.
|
||||
const TargetMachineRegistry::Entry *
|
||||
TargetMachineRegistry::getClosestTargetForJIT(std::string &Error) {
|
||||
std::vector<std::pair<unsigned, const Entry *> > UsableTargets;
|
||||
|
Loading…
Reference in New Issue
Block a user