diff options
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 1cbf5db40..cdc9bf3b4 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -166,7 +166,9 @@ bool is_operand_value(Operand o) { bool is_operand_nil(Operand o) { return o.mode == Addressing_Value && o.type == t_untyped_nil; } - +bool is_operand_undef(Operand o) { + return o.mode == Addressing_Value && o.type == t_untyped_undef; +} struct BlockLabel { String name; |