diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-14 02:10:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-01 03:47:14 +0800 |
commit | d4fecc7b11586a108578a1834b634981bc854f91 (patch) | |
tree | 579974aa17010ee8a3d5151cccff7e54c3e15f41 /libsolidity/inlineasm/AsmAnalysis.h | |
parent | 95f790295564997705f455e3ed18b6c51546a847 (diff) | |
download | dexon-solidity-d4fecc7b11586a108578a1834b634981bc854f91.tar.gz dexon-solidity-d4fecc7b11586a108578a1834b634981bc854f91.tar.zst dexon-solidity-d4fecc7b11586a108578a1834b634981bc854f91.zip |
Warn on JUMP/JUMPI in inline assembly
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysis.h')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.h b/libsolidity/inlineasm/AsmAnalysis.h index 76d2eba1..9b2a8f9c 100644 --- a/libsolidity/inlineasm/AsmAnalysis.h +++ b/libsolidity/inlineasm/AsmAnalysis.h @@ -85,7 +85,7 @@ private: Scope& scope(assembly::Block const* _block); void expectValidType(std::string const& type, SourceLocation const& _location); - void warnOnFutureInstruction(solidity::Instruction _instr, SourceLocation const& _location); + void warnOnInstructions(solidity::Instruction _instr, SourceLocation const& _location); int m_stackHeight = 0; julia::ExternalIdentifierAccess::Resolver m_resolver; |