mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add storage load/store functions to Yul dialect.
This commit is contained in:
@@ -24,14 +24,10 @@
|
||||
|
||||
#include <libyul/optimiser/DataFlowAnalyzer.h>
|
||||
#include <libyul/optimiser/OptimiserStep.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
|
||||
namespace solidity::yul
|
||||
{
|
||||
|
||||
struct EVMDialect;
|
||||
struct BuiltinFunctionForEVM;
|
||||
|
||||
/**
|
||||
* Optimisation stage that replaces expressions of type ``sload(x)`` and ``mload(x)`` by the value
|
||||
* currently stored in storage resp. memory, if known.
|
||||
@@ -63,7 +59,7 @@ protected:
|
||||
|
||||
void tryResolve(
|
||||
Expression& _e,
|
||||
evmasm::Instruction _instruction,
|
||||
StoreLoadLocation _location,
|
||||
std::vector<Expression> const& _arguments
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user