diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-05 18:45:44 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-06 03:27:12 +0800 |
commit | 793537e08926190728e93a666a5fadc6d0765f63 (patch) | |
tree | fa0823b85fe632f161a5e3b5d05332581ee55eec | |
parent | bc875f6b9c140d351ec8ae96d2c8e29979017d57 (diff) | |
download | dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar.gz dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar.bz2 dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar.lz dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar.xz dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.tar.zst dexon-solidity-793537e08926190728e93a666a5fadc6d0765f63.zip |
Suggest the "if" statement too instead of jumps
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp index 04b8417f..049af65f 100644 --- a/libsolidity/inlineasm/AsmAnalysis.cpp +++ b/libsolidity/inlineasm/AsmAnalysis.cpp @@ -529,6 +529,6 @@ void AsmAnalyzer::warnOnInstructions(solidity::Instruction _instr, SourceLocatio _location, "Jump instructions and labels are low-level EVM features that can lead to " "incorrect stack access. Because of that they are discouraged. " - "Please consider using \"switch\" or \"for\" statements instead." + "Please consider using \"switch\", \"if\" or \"for\" statements instead." ); } |