diff options
author | chriseth <chris@ethereum.org> | 2017-05-25 00:34:19 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-05-29 21:40:32 +0800 |
commit | 9adff68ecc9fe725670c3752429d18d15379644b (patch) | |
tree | 06b2de6eab97c521dcd036423a1deb4da6e95e28 /libsolidity/inlineasm/AsmCodeGen.cpp | |
parent | 002df12d13fb423be641878a20b73bd10f90a6df (diff) | |
download | dexon-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/AsmCodeGen.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmCodeGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp index 6a44faac..af3547fd 100644 --- a/libsolidity/inlineasm/AsmCodeGen.cpp +++ b/libsolidity/inlineasm/AsmCodeGen.cpp @@ -70,12 +70,12 @@ public: m_assembly.append(_constant); } /// Append a label. - virtual void appendLabel(size_t _labelId) override + virtual void appendLabel(LabelID _labelId) override { m_assembly.append(eth::AssemblyItem(eth::Tag, _labelId)); } /// Append a label reference. - virtual void appendLabelReference(size_t _labelId) override + virtual void appendLabelReference(LabelID _labelId) override { m_assembly.append(eth::AssemblyItem(eth::PushTag, _labelId)); } |