diff options
author | chriseth <chris@ethereum.org> | 2017-05-22 18:32:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-22 18:32:22 +0800 |
commit | e3af064098edae79aa3bbfb2a96b43fa3479269d (patch) | |
tree | ad8079a0032ee8fe4a9cf6a90f898c03a07619cc /libsolidity/inlineasm/AsmStack.h | |
parent | 1344f28fdc96276285a009df369e02555141fc27 (diff) | |
parent | 7f5601fd4b63e90313f1a9c1a53e08ba9757b452 (diff) | |
download | dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar.gz dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar.bz2 dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar.lz dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar.xz dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.tar.zst dexon-solidity-e3af064098edae79aa3bbfb2a96b43fa3479269d.zip |
Merge pull request #2197 from ethereum/evm15
Refactoring to support multiple EVM-like backends
Diffstat (limited to 'libsolidity/inlineasm/AsmStack.h')
-rw-r--r-- | libsolidity/inlineasm/AsmStack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmStack.h b/libsolidity/inlineasm/AsmStack.h index 77a7e02a..e223ccc9 100644 --- a/libsolidity/inlineasm/AsmStack.h +++ b/libsolidity/inlineasm/AsmStack.h @@ -24,6 +24,8 @@ #include <libsolidity/interface/Exceptions.h> +#include <libjulia/backends/AbstractAssembly.h> + #include <string> #include <functional> @@ -51,7 +53,7 @@ struct ExternalIdentifierAccess /// Resolve a an external reference given by the identifier in the given context. /// @returns the size of the value (number of stack slots) or size_t(-1) if not found. Resolver resolve; - using CodeGenerator = std::function<void(assembly::Identifier const&, IdentifierContext, eth::Assembly&)>; + using CodeGenerator = std::function<void(assembly::Identifier const&, IdentifierContext, julia::AbstractAssembly&)>; /// Generate code for retrieving the value (rvalue context) or storing the value (lvalue context) /// of an identifier. The code should be appended to the assembly. In rvalue context, the value is supposed /// to be put onto the stack, in lvalue context, the value is assumed to be at the top of the stack. |