aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmScope.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-25 00:34:19 +0800
committerchriseth <chris@ethereum.org>2017-05-29 21:40:32 +0800
commit9adff68ecc9fe725670c3752429d18d15379644b (patch)
tree06b2de6eab97c521dcd036423a1deb4da6e95e28 /libsolidity/inlineasm/AsmScope.h
parent002df12d13fb423be641878a20b73bd10f90a6df (diff)
downloaddexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar.gz
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar.bz2
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar.lz
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar.xz
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.tar.zst
dexon-solidity-9adff68ecc9fe725670c3752429d18d15379644b.zip
Introduce LabelID typedef.
Diffstat (limited to 'libsolidity/inlineasm/AsmScope.h')
-rw-r--r--libsolidity/inlineasm/AsmScope.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmScope.h b/libsolidity/inlineasm/AsmScope.h
index 70786dce..498218b4 100644
--- a/libsolidity/inlineasm/AsmScope.h
+++ b/libsolidity/inlineasm/AsmScope.h
@@ -63,6 +63,7 @@ struct GenericVisitor<>: public boost::static_visitor<> {
struct Scope
{
using JuliaType = std::string;
+ using LabelID = size_t;
struct Variable
{
@@ -76,7 +77,7 @@ struct Scope
struct Label
{
- boost::optional<size_t> id;
+ boost::optional<LabelID> id;
};
struct Function