mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Fix code gen for compare against nil for multi pointers
This commit is contained in:
@@ -1834,6 +1834,7 @@ lbValue lb_emit_comp_against_nil(lbProcedure *p, TokenKind op_kind, lbValue x) {
|
|||||||
|
|
||||||
case Type_Enum:
|
case Type_Enum:
|
||||||
case Type_Pointer:
|
case Type_Pointer:
|
||||||
|
case Type_MultiPointer:
|
||||||
case Type_Proc:
|
case Type_Proc:
|
||||||
case Type_BitSet:
|
case Type_BitSet:
|
||||||
if (op_kind == Token_CmpEq) {
|
if (op_kind == Token_CmpEq) {
|
||||||
|
|||||||
Reference in New Issue
Block a user