From e2a46bcc2e30cac5ff87a5cede80ad43fdbeb4d6 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 12 Jul 2018 13:10:06 -0300 Subject: [PATCH] Remove another useless temp var --- ChocolArm64/Instruction/AInstEmitSimdShift.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ChocolArm64/Instruction/AInstEmitSimdShift.cs b/ChocolArm64/Instruction/AInstEmitSimdShift.cs index 84909946d4..a53ae4a106 100644 --- a/ChocolArm64/Instruction/AInstEmitSimdShift.cs +++ b/ChocolArm64/Instruction/AInstEmitSimdShift.cs @@ -150,15 +150,13 @@ namespace ChocolArm64.Instruction { AOpCodeSimdShImm Op = (AOpCodeSimdShImm)Context.CurrOp; - int Shift = GetImmShr(Op); - Action Emit = () => { Context.Emit(OpCodes.Shr); Context.Emit(OpCodes.Add); }; - EmitVectorShImmTernarySx(Context, Emit, Shift); + EmitVectorShImmTernarySx(Context, Emit, GetImmShr(Op)); } public static void Ushl_V(AILEmitterCtx Context)