mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move LabelIDs to generation phase.
This commit is contained in:
@@ -75,17 +75,13 @@ struct Scope
|
||||
JuliaType type;
|
||||
};
|
||||
|
||||
struct Label
|
||||
{
|
||||
boost::optional<LabelID> id;
|
||||
};
|
||||
struct Label { };
|
||||
|
||||
struct Function
|
||||
{
|
||||
Function(std::vector<JuliaType> const& _arguments, std::vector<JuliaType> const& _returns): arguments(_arguments), returns(_returns) {}
|
||||
std::vector<JuliaType> arguments;
|
||||
std::vector<JuliaType> returns;
|
||||
boost::optional<LabelID> id;
|
||||
};
|
||||
|
||||
using Identifier = boost::variant<Variable, Label, Function>;
|
||||
|
||||
Reference in New Issue
Block a user