diff options
author | chriseth <chris@ethereum.org> | 2018-12-21 01:55:32 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2019-01-07 23:41:03 +0800 |
commit | 9222eff08fad8e6a0ea7df8b299880f90c68c8b3 (patch) | |
tree | 20b9a2e40164fb693ab52e75ad1cd2388d142473 /libyul/optimiser/ExpressionInliner.cpp | |
parent | d9910f2a1258e8d16d7a57905dabcd09db4e6a8d (diff) | |
download | dexon-solidity-9222eff08fad8e6a0ea7df8b299880f90c68c8b3.tar.gz dexon-solidity-9222eff08fad8e6a0ea7df8b299880f90c68c8b3.tar.zst dexon-solidity-9222eff08fad8e6a0ea7df8b299880f90c68c8b3.zip |
Make the dialect available everywhere.
Diffstat (limited to 'libyul/optimiser/ExpressionInliner.cpp')
-rw-r--r-- | libyul/optimiser/ExpressionInliner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/optimiser/ExpressionInliner.cpp b/libyul/optimiser/ExpressionInliner.cpp index 27d43ac0..858c8733 100644 --- a/libyul/optimiser/ExpressionInliner.cpp +++ b/libyul/optimiser/ExpressionInliner.cpp @@ -56,7 +56,7 @@ void ExpressionInliner::visit(Expression& _expression) bool movable = boost::algorithm::all_of( funCall.arguments, - [=](Expression const& _arg) { return MovableChecker(_arg).movable(); } + [=](Expression const& _arg) { return MovableChecker(m_dialect, _arg).movable(); } ); if (m_inlinableFunctions.count(funCall.functionName.name) && movable) { |