aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmCodeGen.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-24 18:55:43 +0800
committerGitHub <noreply@github.com>2017-05-24 18:55:43 +0800
commitcf639f48f2e7be43ac47fda6d7dec765ed0893e4 (patch)
tree47fdccd7ebbc822b43dd99f0cf0a621f228de4e1 /libsolidity/inlineasm/AsmCodeGen.cpp
parente9b106cd0e9a3ca792d8335b5c2f0fa03cf4eebc (diff)
parentb77b11781d174712bd141d0fd82e823cd2727aec (diff)
downloaddexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar.gz
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar.bz2
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar.lz
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar.xz
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.tar.zst
dexon-solidity-cf639f48f2e7be43ac47fda6d7dec765ed0893e4.zip
Merge pull request #2295 from ethereum/asm-cleanup
Cleanup the assembly AST
Diffstat (limited to 'libsolidity/inlineasm/AsmCodeGen.cpp')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp
index 02d5ced0..53eafc96 100644
--- a/libsolidity/inlineasm/AsmCodeGen.cpp
+++ b/libsolidity/inlineasm/AsmCodeGen.cpp
@@ -233,13 +233,13 @@ public:
m_assembly.appendLabel(*label.id);
checkStackHeight(&_label);
}
- void operator()(assembly::Assignment const& _assignment)
+ void operator()(assembly::StackAssignment const& _assignment)
{
m_assembly.setSourceLocation(_assignment.location);
generateAssignment(_assignment.variableName, _assignment.location);
checkStackHeight(&_assignment);
}
- void operator()(FunctionalAssignment const& _assignment)
+ void operator()(assembly::Assignment const& _assignment)
{
int height = m_assembly.stackHeight();
boost::apply_visitor(*this, *_assignment.value);