Enhance chibicc
This commit is contained in:
3
third_party/chibicc/cast.c
vendored
3
third_party/chibicc/cast.c
vendored
@@ -150,8 +150,9 @@ static int getTypeId(Type *ty) {
|
||||
return F64;
|
||||
case TY_LDOUBLE:
|
||||
return F80;
|
||||
default:
|
||||
return U64;
|
||||
}
|
||||
return U64;
|
||||
}
|
||||
|
||||
void gen_cast(Type *from, Type *to) {
|
||||
|
||||
Reference in New Issue
Block a user