diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-01-25 18:33:09 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-01-25 19:28:09 +0800 |
commit | 900c56d996472cb2053b69c7104ef007c13b1e80 (patch) | |
tree | b6061f8d355c5e64858e16bd9c602c741a56a423 /libsolidity/inlineasm/AsmParser.h | |
parent | ba9a04500217e301bec63cab4e0c0f1d9322646d (diff) | |
download | dexon-solidity-900c56d996472cb2053b69c7104ef007c13b1e80.tar.gz dexon-solidity-900c56d996472cb2053b69c7104ef007c13b1e80.tar.zst dexon-solidity-900c56d996472cb2053b69c7104ef007c13b1e80.zip |
Do not allow shadowing inline assembly instructions with variables
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.h')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmParser.h b/libsolidity/inlineasm/AsmParser.h index 8b56ab90..764c53f6 100644 --- a/libsolidity/inlineasm/AsmParser.h +++ b/libsolidity/inlineasm/AsmParser.h @@ -64,6 +64,7 @@ protected: Statement parseStatement(); /// Parses a functional expression that has to push exactly one stack element Statement parseExpression(); + std::map<std::string, dev::solidity::Instruction> getInstructions(); Statement parseElementaryOperation(bool _onlySinglePusher = false); VariableDeclaration parseVariableDeclaration(); FunctionalInstruction parseFunctionalInstruction(Statement&& _instruction); |