summaryrefslogtreecommitdiff
path: root/include/lldb/Core/MappedHash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/MappedHash.h')
-rw-r--r--include/lldb/Core/MappedHash.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lldb/Core/MappedHash.h b/include/lldb/Core/MappedHash.h
index 44fe632161652..842a116d07a8f 100644
--- a/include/lldb/Core/MappedHash.h
+++ b/include/lldb/Core/MappedHash.h
@@ -52,8 +52,7 @@ public:
default:
break;
}
- assert(!"Invalid hash function index");
- return 0;
+ llvm_unreachable("Invalid hash function index");
}
static const uint32_t HASH_MAGIC = 0x48415348u;