From 2b3a80ceaa8eac69b927881cdc93ffa30a5392d9 Mon Sep 17 00:00:00 2001 From: Demuirgos Date: Fri, 25 Oct 2024 18:08:30 +0100 Subject: [PATCH] remove unused function --- .../CodeAnalysis/IL/ILCompiler.cs | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/src/Nethermind/Nethermind.Evm/CodeAnalysis/IL/ILCompiler.cs b/src/Nethermind/Nethermind.Evm/CodeAnalysis/IL/ILCompiler.cs index 91e5904946a..9f91c26d981 100644 --- a/src/Nethermind/Nethermind.Evm/CodeAnalysis/IL/ILCompiler.cs +++ b/src/Nethermind/Nethermind.Evm/CodeAnalysis/IL/ILCompiler.cs @@ -2262,32 +2262,6 @@ private static void EmitBitwiseUInt256Method(Emit il, Local uint256R, (Loc il.StackPop(stack.idx); } - private static void EmitBitwiseUInt256Method2(Emit il, Local uint256R, (Local span, Local idx) stack, MethodInfo operation, Dictionary exceptions, params Local[] locals) - { - // Note: Use Vector256 directoly if UInt256 does not use it internally - // we the two uint256 from the stack - il.StackLoadPrevious(stack.span, stack.idx, 1); - il.Call(Word.GetUInt256); - il.StoreLocal(locals[0]); - il.StackLoadPrevious(stack.span, stack.idx, 2); - il.Call(Word.GetUInt256); - il.StoreLocal(locals[1]); - il.StackPop(stack.idx, 2); - - // invoke op on the uint256 - il.LoadLocalAddress(locals[0]); - il.LoadLocalAddress(locals[1]); - il.LoadLocalAddress(uint256R); - il.Call(operation); - - // push the result to the stack - il.CleanWord(stack.span, stack.idx); - il.Load(stack.span, stack.idx); - il.LoadLocal(uint256R); // stack: word*, uint256 - il.Call(Word.SetUInt256); - il.StackPush(stack.idx); - } - private static void EmitComparaisonUInt256Method(Emit il, Local uint256R, (Local span, Local idx) stack, MethodInfo operation, Dictionary exceptions, params Local[] locals) { // we the two uint256 from the stack