diff options
Diffstat (limited to 'tools/lldb-perf/lib/Results.cpp')
| -rw-r--r-- | tools/lldb-perf/lib/Results.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/tools/lldb-perf/lib/Results.cpp b/tools/lldb-perf/lib/Results.cpp index 17a022f2ea1c0..a4cdce525e2cb 100644 --- a/tools/lldb-perf/lib/Results.cpp +++ b/tools/lldb-perf/lib/Results.cpp @@ -76,8 +76,7 @@ static void AddResultToArray(CFCMutableArray &parent_array,    } break;    default: -    assert(!"unhandled result"); -    break; +    llvm_unreachable("unhandled result");    }  } @@ -125,8 +124,7 @@ static void AddResultToDictionary(CFCMutableDictionary &parent_dict,                                 result->GetAsUnsigned()->GetValue(), true);    } break;    default: -    assert(!"unhandled result"); -    break; +    llvm_unreachable("unhandled result");    }  }  void Results::Write(const char *out_path) { | 
