mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix Wasm transform.
This commit is contained in:
parent
8f645f025c
commit
d358af6515
@ -29,6 +29,7 @@
|
|||||||
#include <libyul/optimiser/Disambiguator.h>
|
#include <libyul/optimiser/Disambiguator.h>
|
||||||
#include <libyul/optimiser/NameDisplacer.h>
|
#include <libyul/optimiser/NameDisplacer.h>
|
||||||
#include <libyul/optimiser/OptimiserStep.h>
|
#include <libyul/optimiser/OptimiserStep.h>
|
||||||
|
#include <libyul/optimiser/ForLoopConditionIntoBody.h>
|
||||||
|
|
||||||
#include <libyul/AsmParser.h>
|
#include <libyul/AsmParser.h>
|
||||||
#include <libyul/AsmAnalysis.h>
|
#include <libyul/AsmAnalysis.h>
|
||||||
@ -702,6 +703,7 @@ Object EVMToEWasmTranslator::run(Object const& _object)
|
|||||||
FunctionHoister::run(context, ast);
|
FunctionHoister::run(context, ast);
|
||||||
FunctionGrouper::run(context, ast);
|
FunctionGrouper::run(context, ast);
|
||||||
MainFunction{}(ast);
|
MainFunction{}(ast);
|
||||||
|
ForLoopConditionIntoBody::run(context, ast);
|
||||||
ExpressionSplitter::run(context, ast);
|
ExpressionSplitter::run(context, ast);
|
||||||
WordSizeTransform::run(m_dialect, ast, nameDispenser);
|
WordSizeTransform::run(m_dialect, ast, nameDispenser);
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ namespace yul
|
|||||||
* takes four u64 parameters and is supposed to return the logical disjunction
|
* 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.
|
* 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
|
class WordSizeTransform: public ASTModifier
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user