mie: add null IR value
This commit is contained in:
@@ -259,11 +259,14 @@ static b_status write_operand(
|
||||
struct mie_ir_converter *converter, struct mie_value *value, int flags)
|
||||
{
|
||||
if (!value) {
|
||||
write_string(converter, "<null>");
|
||||
write_string(converter, "<NULL VALUE PTR>");
|
||||
return B_SUCCESS;
|
||||
}
|
||||
|
||||
switch (value->v_type->t_id) {
|
||||
case MIE_VALUE_NONE:
|
||||
write_string(converter, "null");
|
||||
return B_SUCCESS;
|
||||
case MIE_VALUE_CONST:
|
||||
return write_operand_const(converter, value, flags);
|
||||
case MIE_VALUE_INSTR:
|
||||
|
||||
Reference in New Issue
Block a user