mirror of
https://github.com/xenia-project/xenia.git
synced 2025-01-22 11:24:27 +00:00
Cleaning up a bit in prep for float/vec.
This commit is contained in:
parent
1518523651
commit
1988edfd55
File diff suppressed because it is too large
Load Diff
@ -34,7 +34,13 @@ enum TypeName {
|
||||
};
|
||||
|
||||
static bool IsIntType(TypeName type_name) {
|
||||
return type_name < 4;
|
||||
return type_name <= INT64_TYPE;
|
||||
}
|
||||
static bool IsFloatType(TypeName type_name) {
|
||||
return type_name == FLOAT32_TYPE || type_name == FLOAT64_TYPE;
|
||||
}
|
||||
static bool IsVecType(TypeName type_name) {
|
||||
return type_name == VEC128_TYPE;
|
||||
}
|
||||
|
||||
enum ValueFlags {
|
||||
|
Loading…
x
Reference in New Issue
Block a user