From e980a29186527c9325f9d2e2515847fc4602c871 Mon Sep 17 00:00:00 2001 From: wechman Date: Mon, 11 Apr 2022 08:01:58 +0200 Subject: [PATCH] Set CommonSubexpressionEliminator max chunk size to 2000 --- libevmasm/CommonSubexpressionEliminator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libevmasm/CommonSubexpressionEliminator.h b/libevmasm/CommonSubexpressionEliminator.h index 68d40d5ac..b0810a9a1 100644 --- a/libevmasm/CommonSubexpressionEliminator.h +++ b/libevmasm/CommonSubexpressionEliminator.h @@ -179,7 +179,7 @@ AssemblyItemIterator CommonSubexpressionEliminator::feedItems( ) { assertThrow(!m_breakingItem, OptimizerException, "Invalid use of CommonSubexpressionEliminator."); - unsigned const maxChunkSize = 1000; + unsigned const maxChunkSize = 2000; unsigned chunkSize = 0; for ( ;