aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmScope.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-14 18:04:08 +0800
committerGitHub <noreply@github.com>2018-06-14 18:04:08 +0800
commitdc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (patch)
treed32c20e0d651d13d034cc5eaa601eccebcdf1ee8 /libsolidity/inlineasm/AsmScope.h
parentbaeabe1c2d1c5c447eeb943f3b750459a6bc924d (diff)
parentd24f6fd34b3a984b87ac6054d33922116fb12977 (diff)
downloaddexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.gz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.bz2
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.lz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.xz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.zst
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.zip
Merge pull request #4296 from ethereum/yul-internal
[WIP] Rename some internal constructs from Julia/Iulia to Yul
Diffstat (limited to 'libsolidity/inlineasm/AsmScope.h')
-rw-r--r--libsolidity/inlineasm/AsmScope.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libsolidity/inlineasm/AsmScope.h b/libsolidity/inlineasm/AsmScope.h
index 447d6490..c8c63f8f 100644
--- a/libsolidity/inlineasm/AsmScope.h
+++ b/libsolidity/inlineasm/AsmScope.h
@@ -62,27 +62,27 @@ struct GenericVisitor<>: public boost::static_visitor<> {
struct Scope
{
- using JuliaType = std::string;
+ using YulType = std::string;
using LabelID = size_t;
- struct Variable { JuliaType type; };
+ struct Variable { YulType type; };
struct Label { };
struct Function
{
- std::vector<JuliaType> arguments;
- std::vector<JuliaType> returns;
+ std::vector<YulType> arguments;
+ std::vector<YulType> returns;
};
using Identifier = boost::variant<Variable, Label, Function>;
using Visitor = GenericVisitor<Variable const, Label const, Function const>;
using NonconstVisitor = GenericVisitor<Variable, Label, Function>;
- bool registerVariable(std::string const& _name, JuliaType const& _type);
+ bool registerVariable(std::string const& _name, YulType const& _type);
bool registerLabel(std::string const& _name);
bool registerFunction(
std::string const& _name,
- std::vector<JuliaType> const& _arguments,
- std::vector<JuliaType> const& _returns
+ std::vector<YulType> const& _arguments,
+ std::vector<YulType> const& _returns
);
/// Looks up the identifier in this or super scopes and returns a valid pointer if found