diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index e1f9488..1f14546 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -1206,7 +1206,7 @@ bool MachineFunction::shouldUseDebugInstrRef() const { // have optimized code inlined into this unoptimized code, however with // fewer and less aggressive optimizations happening, coverage and accuracy // should not suffer. - if (getTarget().getOptLevel() == CodeGenOpt::None) + if (getTarget().getOptLevel() == CodeGenOptLevel::None) return false; // Don't use instr-ref if this function is marked optnone. |