aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmScopeFiller.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-12 02:19:37 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:49:03 +0800
commitb622c2e9d3d13c4c9061488abbe795994e94cfcf (patch)
treeea289f5d868848407f5db274a59513fc6acacd7c /libsolidity/inlineasm/AsmScopeFiller.h
parent34717838da875c5265f005bb92c3349c08063ba5 (diff)
downloaddexon-solidity-b622c2e9d3d13c4c9061488abbe795994e94cfcf.tar.gz
dexon-solidity-b622c2e9d3d13c4c9061488abbe795994e94cfcf.tar.zst
dexon-solidity-b622c2e9d3d13c4c9061488abbe795994e94cfcf.zip
Only run stack filler on AST elements that are or contain declarations.
Diffstat (limited to 'libsolidity/inlineasm/AsmScopeFiller.h')
-rw-r--r--libsolidity/inlineasm/AsmScopeFiller.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmScopeFiller.h b/libsolidity/inlineasm/AsmScopeFiller.h
index 3747af0a..bb62948b 100644
--- a/libsolidity/inlineasm/AsmScopeFiller.h
+++ b/libsolidity/inlineasm/AsmScopeFiller.h
@@ -61,13 +61,13 @@ public:
bool operator()(assembly::Instruction const&) { return true; }
bool operator()(assembly::Literal const&) { return true; }
bool operator()(assembly::Identifier const&) { return true; }
- bool operator()(assembly::FunctionalInstruction const& _functionalInstruction);
+ bool operator()(assembly::FunctionalInstruction const&) { return true; }
bool operator()(assembly::Label const& _label);
bool operator()(assembly::Assignment const&) { return true; }
- bool operator()(assembly::FunctionalAssignment const& _functionalAssignment);
+ bool operator()(assembly::FunctionalAssignment const&) { return true; }
bool operator()(assembly::VariableDeclaration const& _variableDeclaration);
bool operator()(assembly::FunctionDefinition const& _functionDefinition);
- bool operator()(assembly::FunctionCall const& _functionCall);
+ bool operator()(assembly::FunctionCall const&) { return true; }
bool operator()(assembly::Block const& _block);
private: