mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7755 from ethereum/fixWasmTransform
Fix Wasm transform.
This commit is contained in:
commit
f2c6e47038
@ -29,6 +29,7 @@
|
||||
#include <libyul/optimiser/Disambiguator.h>
|
||||
#include <libyul/optimiser/NameDisplacer.h>
|
||||
#include <libyul/optimiser/OptimiserStep.h>
|
||||
#include <libyul/optimiser/ForLoopConditionIntoBody.h>
|
||||
|
||||
#include <libyul/AsmParser.h>
|
||||
#include <libyul/AsmAnalysis.h>
|
||||
@ -702,6 +703,7 @@ Object EVMToEWasmTranslator::run(Object const& _object)
|
||||
FunctionHoister::run(context, ast);
|
||||
FunctionGrouper::run(context, ast);
|
||||
MainFunction{}(ast);
|
||||
ForLoopConditionIntoBody::run(context, ast);
|
||||
ExpressionSplitter::run(context, ast);
|
||||
WordSizeTransform::run(m_dialect, ast, nameDispenser);
|
||||
|
||||
|
@ -55,7 +55,7 @@ namespace yul
|
||||
* takes four u64 parameters and is supposed to return the logical disjunction
|
||||
* of them as a u64 value. If this name is already used somewhere, it is renamed.
|
||||
*
|
||||
* Prerequisite: Disambiguator, ExpressionSplitter
|
||||
* Prerequisite: Disambiguator, ForLoopConditionIntoBody, ExpressionSplitter
|
||||
*/
|
||||
class WordSizeTransform: public ASTModifier
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user