diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:14:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:14:12 +0000 |
commit | a4092fcbfb39b4d32a8e152a110d20132779d538 (patch) | |
tree | 37c84fe56b8ec43e3b08de27d76f53e259ddb0c7 /tools/lldb-perf/lib/Results.cpp | |
parent | cce7c2b0d24e364b1907670cf6f843531e5fe052 (diff) |
Notes
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 17a022f2ea1c..a4cdce525e2c 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) { |