summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86JITInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86/X86JITInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86JITInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86JITInfo.h b/llvm/lib/Target/X86/X86JITInfo.h
index 183e2f2bb81..69bebd0270c 100644
--- a/llvm/lib/Target/X86/X86JITInfo.h
+++ b/llvm/lib/Target/X86/X86JITInfo.h
@@ -23,7 +23,7 @@ namespace llvm {
X86TargetMachine &TM;
intptr_t PICBase;
public:
- X86JITInfo(X86TargetMachine &tm) : TM(tm) {useGOT = 0;}
+ explicit X86JITInfo(X86TargetMachine &tm) : TM(tm) {useGOT = 0;}
/// replaceMachineCodeForFunction - Make it so that calling the function
/// whose machine code is at OLD turns into a call to NEW, perhaps by
OpenPOWER on IntegriCloud