diff options
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index a6768d495..c22ad1645 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -27,8 +27,8 @@ gb_internal bool is_operand_value(Operand o) { gb_internal bool is_operand_nil(Operand o) { return o.mode == Addressing_Value && o.type == t_untyped_nil; } -gb_internal bool is_operand_undef(Operand o) { - return o.mode == Addressing_Value && o.type == t_untyped_undef; +gb_internal bool is_operand_uninit(Operand o) { + return o.mode == Addressing_Value && o.type == t_untyped_uninit; } gb_internal bool check_rtti_type_disallowed(Token const &token, Type *type, char const *format) { |