From 1fbb2280924aaa7beef626abaf25f9dd3f3bca88 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 28 Jun 2023 10:09:33 -0400 Subject: [PATCH] Add comment --- compiler/passes/src/code_generation/visit_expressions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/passes/src/code_generation/visit_expressions.rs b/compiler/passes/src/code_generation/visit_expressions.rs index 6027600ff4..40f38d23ea 100644 --- a/compiler/passes/src/code_generation/visit_expressions.rs +++ b/compiler/passes/src/code_generation/visit_expressions.rs @@ -149,6 +149,7 @@ impl<'a> CodeGenerator<'a> { fn visit_unary(&mut self, input: &'a UnaryExpression) -> (String, String) { let (expression_operand, expression_instructions) = self.visit_expression(&input.receiver); + // Note that non-empty suffixes must be preceded by a space. let (opcode, suffix) = match input.op { UnaryOperation::Abs => ("abs", ""), UnaryOperation::AbsWrapped => ("abs.w", ""),