aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmStack.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-29 00:15:18 +0800
committerchriseth <chris@ethereum.org>2017-05-20 01:20:28 +0800
commite2b21e1c9611fd94f8e7b91b0ecbb0ec39145758 (patch)
tree9cc66e31297b7fff84166225d008b23351ba6e06 /libsolidity/inlineasm/AsmStack.h
parent41ee2cefbbe0009fd7576f3e965b63e076d1ad24 (diff)
downloaddexon-solidity-e2b21e1c9611fd94f8e7b91b0ecbb0ec39145758.tar.gz
dexon-solidity-e2b21e1c9611fd94f8e7b91b0ecbb0ec39145758.tar.zst
dexon-solidity-e2b21e1c9611fd94f8e7b91b0ecbb0ec39145758.zip
Refactor to abstract assembly to JULIA.
Diffstat (limited to 'libsolidity/inlineasm/AsmStack.h')
-rw-r--r--libsolidity/inlineasm/AsmStack.h4
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.