aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-09 15:42:54 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-27 20:42:41 +0800
commitafa4a48e3770630a744ef98ccd518601e1f35c86 (patch)
treefdcf6a0b114a6630f8527992a1ff07ab85e593ed /libsolidity/inlineasm
parent468d0f6199e71f0c7f4b8bd667c8f31feba41a9d (diff)
downloaddexon-solidity-afa4a48e3770630a744ef98ccd518601e1f35c86.tar.gz
dexon-solidity-afa4a48e3770630a744ef98ccd518601e1f35c86.tar.zst
dexon-solidity-afa4a48e3770630a744ef98ccd518601e1f35c86.zip
Remove ROL/ROR as they are not part of EIP145 anymore
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmAnalysis.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp
index 7653ee51..1030523a 100644
--- a/libsolidity/inlineasm/AsmAnalysis.cpp
+++ b/libsolidity/inlineasm/AsmAnalysis.cpp
@@ -551,9 +551,7 @@ void AsmAnalyzer::warnOnInstructions(solidity::Instruction _instr, SourceLocatio
static set<solidity::Instruction> experimentalInstructions{
solidity::Instruction::SHL,
solidity::Instruction::SHR,
- solidity::Instruction::SAR,
- solidity::Instruction::ROL,
- solidity::Instruction::ROR
+ solidity::Instruction::SAR
};
if (experimentalInstructions.count(_instr))
m_errorReporter.warning(