From 1cc656c550e7ac0db5c7ec09fbdfa9e04a19cfdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Wed, 24 May 2023 12:33:38 +0200 Subject: [PATCH] docs: Remove a few leftover mentions of Ewasm --- docs/internals/optimizer.rst | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/docs/internals/optimizer.rst b/docs/internals/optimizer.rst index 9ede5ef2a..7d168d220 100644 --- a/docs/internals/optimizer.rst +++ b/docs/internals/optimizer.rst @@ -1279,8 +1279,8 @@ This is a tiny step that helps in reversing the effects of the SSA transform if it is combined with the Common Subexpression Eliminator and the Unused Pruner. -The SSA form we generate is detrimental to code generation on the EVM and -WebAssembly alike because it generates many local variables. It would +The SSA form we generate is detrimental to code generation +because it produces many local variables. It would be better to just re-use existing variables with assignments instead of fresh variable declarations. @@ -1398,15 +1398,3 @@ into } The LiteralRematerialiser should be run before this step. - - -WebAssembly specific --------------------- - -MainFunction -^^^^^^^^^^^^ - -Changes the topmost block to be a function with a specific name ("main") which has no -inputs nor outputs. - -Depends on the Function Grouper.