From 5445cde1812d9ab389cd7c9539849daf38c5305f Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 1 Oct 2019 14:08:40 -0700 Subject: [PATCH] Delete dead (commented out) code. NFC. --- lib/singlepass-backend/src/codegen_x64.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/singlepass-backend/src/codegen_x64.rs b/lib/singlepass-backend/src/codegen_x64.rs index d8debec1087..7e3a9ed5f1b 100644 --- a/lib/singlepass-backend/src/codegen_x64.rs +++ b/lib/singlepass-backend/src/codegen_x64.rs @@ -1563,21 +1563,17 @@ impl X64FunctionCode { }; if check_alignment && align != 1 { let tmp_aligncheck = m.acquire_temp_gpr().unwrap(); - //let tmp_mask = m.acquire_temp_gpr().unwrap(); a.emit_mov( Size::S32, Location::GPR(tmp_addr), Location::GPR(tmp_aligncheck), ); - //a.emit_mov(Size::S64, Location::Imm64(align - 1), Location::GPR(tmp_mask)); - //a.emit_and(Size::S64, Location::GPR(tmp_mask), Location::GPR(tmp_aligncheck)); a.emit_and( Size::S64, Location::Imm32(align - 1), Location::GPR(tmp_aligncheck), ); a.emit_conditional_trap(Condition::NotEqual); - //m.release_temp_gpr(tmp_mask); m.release_temp_gpr(tmp_aligncheck); }