From f467589346c88e4bf433960516c2a353067bc85b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 5 Dec 2016 11:31:40 -0500 Subject: [PATCH] emit_x64: Remove unnecessary casts --- src/backend_x64/emit_x64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend_x64/emit_x64.cpp b/src/backend_x64/emit_x64.cpp index a6a42cfc..1a05c251 100644 --- a/src/backend_x64/emit_x64.cpp +++ b/src/backend_x64/emit_x64.cpp @@ -431,10 +431,10 @@ void EmitX64::EmitPushRSB(IR::Block&, IR::Inst* inst) { code->add(index_reg, 1); code->and_(index_reg, u32(JitState::RSBSize - 1)); - code->mov(loc_desc_reg, u64(imm64)); + code->mov(loc_desc_reg, imm64); CodePtr patch_location = code->getCurr(); patch_unique_hash_locations[imm64].emplace_back(patch_location); - code->mov(code_ptr_reg, u64(code_ptr)); // This line has to match up with EmitX64::Patch. + code->mov(code_ptr_reg, code_ptr); // This line has to match up with EmitX64::Patch. code->EnsurePatchLocationSize(patch_location, 10); Xbyak::Label label;