From 9a812b0c618cef45358d858599b42a420ec3c0c1 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 18 Jan 2018 23:46:01 +0000 Subject: [PATCH] reg_alloc: GetBitWidth: Add UNREACHABLE --- src/backend_x64/reg_alloc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend_x64/reg_alloc.cpp b/src/backend_x64/reg_alloc.cpp index 026bca92..2f611fb9 100644 --- a/src/backend_x64/reg_alloc.cpp +++ b/src/backend_x64/reg_alloc.cpp @@ -73,6 +73,8 @@ static size_t GetBitWidth(IR::Type type) { case IR::Type::NZCVFlags: return 32; // TODO: Update to 16 when flags optimization is done } + UNREACHABLE(); + return 0; } bool HostLocInfo::IsLocked() const {