diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-26 11:57:26 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-26 11:57:26 +0100 |
| commit | c642e326cecd3dc33ca5a9efb6330e757c378dd9 (patch) | |
| tree | c8bd1554fa2fc9e9d31012d4e98261755a7ced3a /src/ir_print.cpp | |
| parent | 362a11878283eea69cf5a18b7f05c964643a7a64 (diff) | |
Undef value `---` (for setting a value to be uninitialized/undefined)
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 195e61e84..4d2ab8082 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -730,6 +730,10 @@ void ir_print_value(irFileBuffer *f, irModule *m, irValue *value, Type *type_hin ir_fprintf(f, "zeroinitializer"); break; + case irValue_Undef: + ir_fprintf(f, "undef"); + break; + case irValue_TypeName: ir_print_encoded_local(f, value->TypeName.name); break; |