aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetMachineRegistry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetMachineRegistry.h b/include/llvm/Target/TargetMachineRegistry.h
index a8df7b3f82..26c4386219 100644
--- a/include/llvm/Target/TargetMachineRegistry.h
+++ b/include/llvm/Target/TargetMachineRegistry.h
@@ -48,7 +48,7 @@ namespace llvm {
static const char *descof(const entry &Entry) { return Entry.ShortDesc; }
};
- struct TargetMachineRegistry : Registry<TargetMachine> {
+ struct TargetMachineRegistry : public Registry<TargetMachine> {
/// getClosestStaticTargetForModule - Given an LLVM module, pick the best
/// target that is compatible with the module. If no close target can be
/// found, this returns null and sets the Error string to a reason.