use UNREAHCABLE for pic_vtype

This commit is contained in:
Yuichi Nishiwaki 2014-09-26 13:57:36 +09:00
parent d029e003d6
commit 1949ebddf9
1 changed files with 2 additions and 2 deletions

View File

@ -215,9 +215,9 @@ pic_type(pic_value v)
return PIC_TT_EOF;
case PIC_VTYPE_HEAP:
return ((struct pic_object *)pic_ptr(v))->tt;
default:
return -1; /* logic flaw */
}
UNREACHABLE();
}
static inline const char *