aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-14 03:58:25 +0800
committerchriseth <chris@ethereum.org>2017-06-14 04:01:15 +0800
commit45d96959f88e951af0e2ccf0217f19d75da66ed1 (patch)
tree428838dc48662743ed8eeff035d6184786efbbcf /libsolidity
parent3699d27cc928c6beaef77e4990dacd786469d606 (diff)
downloaddexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar.gz
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar.bz2
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar.lz
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar.xz
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.tar.zst
dexon-solidity-45d96959f88e951af0e2ccf0217f19d75da66ed1.zip
Move LabelIDs to generation phase.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmScope.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libsolidity/inlineasm/AsmScope.h b/libsolidity/inlineasm/AsmScope.h
index ad321f77..5e22c6e7 100644
--- a/libsolidity/inlineasm/AsmScope.h
+++ b/libsolidity/inlineasm/AsmScope.h
@@ -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>;