aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorjon lipstate <52809771+jon-lipstate@users.noreply.github.com>2023-05-30 08:23:28 -0700
committerGitHub <noreply@github.com>2023-05-30 08:23:28 -0700
commitb223bc0302b54bb0629bd94d0b16e0f0720b6682 (patch)
treeeaa5de636a3fd8f5b008270fbaff268f40769f8c /src/checker.cpp
parentf5dcbf517b88d7479fa12d5f3b59183a447cae6f (diff)
parent3562a38f8cdd43792b6cdfd3327d16b65d25e5d0 (diff)
Merge branch 'odin-lang:master' into attr_error
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 3e9b46407..5c830c378 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) {