summaryrefslogtreecommitdiff
path: root/source/Core/DataEncoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/DataEncoder.cpp')
-rw-r--r--source/Core/DataEncoder.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Core/DataEncoder.cpp b/source/Core/DataEncoder.cpp
index dd6adc0a8688..334043651576 100644
--- a/source/Core/DataEncoder.cpp
+++ b/source/Core/DataEncoder.cpp
@@ -258,8 +258,7 @@ uint32_t DataEncoder::PutMaxU64(uint32_t offset, uint32_t byte_size,
case 8:
return PutU64(offset, value);
default:
- assert(!"GetMax64 unhandled case!");
- break;
+ llvm_unreachable("GetMax64 unhandled case!");
}
return UINT32_MAX;
}