From 7bfa7723a68211c73e7a70def44050f31e95e8d1 Mon Sep 17 00:00:00 2001 From: Heyang Zhou Date: Thu, 30 Apr 2020 00:26:30 +0800 Subject: [PATCH] Fix typo in comment. Co-Authored-By: nlewycky --- lib/singlepass-backend/src/codegen_x64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/singlepass-backend/src/codegen_x64.rs b/lib/singlepass-backend/src/codegen_x64.rs index 1eb549b4c..9dfc648cc 100644 --- a/lib/singlepass-backend/src/codegen_x64.rs +++ b/lib/singlepass-backend/src/codegen_x64.rs @@ -2068,7 +2068,7 @@ impl X64FunctionCode { // Use RCX as the temporary register here, since: // - It is a temporary register that is not used for any persistent value. - // - This register as an argument location is only written to after `sort_call_movs`.' + // - This register as an argument location is only written to after `sort_call_movs`. m.reserve_unused_temp_gpr(GPR::RCX); a.emit_mov(Size::S64, *param, Location::GPR(GPR::RCX)); a.emit_mov(