diff --git a/src/cpu/reg_class.hh b/src/cpu/reg_class.hh index 9c4af45c66..fa8e2a1702 100644 --- a/src/cpu/reg_class.hh +++ b/src/cpu/reg_class.hh @@ -192,7 +192,6 @@ class RegId return Scale * regIdx + elemIdx; } panic("Trying to flatten a register without class!"); - return -1; } /** @} */