aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-22 05:05:24 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-22 17:51:46 +0800
commit9897c56b2cacf162f8fd41d60e91b7f71863f8d5 (patch)
treefb0f04a445940004a8a45e03bc98d149c5cc71a7 /libsolidity/inlineasm
parent2a5772cff7d03de0d02c5358a6a6755e8f802697 (diff)
downloaddexon-solidity-9897c56b2cacf162f8fd41d60e91b7f71863f8d5.tar.gz
dexon-solidity-9897c56b2cacf162f8fd41d60e91b7f71863f8d5.tar.zst
dexon-solidity-9897c56b2cacf162f8fd41d60e91b7f71863f8d5.zip
Mark a lot of functions static (where possible)
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp
index 24aa4ba8..6d0c0255 100644
--- a/libsolidity/inlineasm/AsmCodeGen.cpp
+++ b/libsolidity/inlineasm/AsmCodeGen.cpp
@@ -127,7 +127,7 @@ public:
}
private:
- LabelID assemblyTagToIdentifier(eth::AssemblyItem const& _tag) const
+ static LabelID assemblyTagToIdentifier(eth::AssemblyItem const& _tag)
{
u256 id = _tag.data();
solAssert(id <= std::numeric_limits<LabelID>::max(), "Tag id too large.");