aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-05-05 11:21:02 -0400
committerGitHub <noreply@github.com>2020-05-05 11:21:02 -0400
commite6955688ac2255d3813e8d2994b6661bc651369b (patch)
tree9879154a5e02b77e95c1cf04a7cde64cb7adc727 /src/ir_print.cpp
parentfde6d28c237fbeae2ace8f2834190c6f9752712a (diff)
parentfdfdac493998a180eeffdcab66e579e7af250039 (diff)
downloadzig-e6955688ac2255d3813e8d2994b6661bc651369b.tar.gz
zig-e6955688ac2255d3813e8d2994b6661bc651369b.zip
Merge pull request #5272 from tadeokondrak/noasync-to-nosuspend
Noasync to nosuspend
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 6176aaf0ba..3e50b7304f 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -861,8 +861,8 @@ static void ir_print_call_src(IrPrintSrc *irp, IrInstSrcCall *call_instruction)
switch (call_instruction->modifier) {
case CallModifierNone:
break;
- case CallModifierNoAsync:
- fprintf(irp->f, "noasync ");
+ case CallModifierNoSuspend:
+ fprintf(irp->f, "nosuspend ");
break;
case CallModifierAsync:
fprintf(irp->f, "async ");
@@ -906,8 +906,8 @@ static void ir_print_call_gen(IrPrintGen *irp, IrInstGenCall *call_instruction)
switch (call_instruction->modifier) {
case CallModifierNone:
break;
- case CallModifierNoAsync:
- fprintf(irp->f, "noasync ");
+ case CallModifierNoSuspend:
+ fprintf(irp->f, "nosuspend ");
break;
case CallModifierAsync:
fprintf(irp->f, "async ");