Skip to content

Commit

Permalink
No longer warn about byzantium opcodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Dec 30, 2017
1 parent 2d83679 commit 730de30
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libsolidity/inlineasm/AsmAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,10 +510,7 @@ void AsmAnalyzer::expectValidType(string const& type, SourceLocation const& _loc
void AsmAnalyzer::warnOnInstructions(solidity::Instruction _instr, SourceLocation const& _location)
{
static set<solidity::Instruction> futureInstructions{
solidity::Instruction::CREATE2,
solidity::Instruction::RETURNDATACOPY,
solidity::Instruction::RETURNDATASIZE,
solidity::Instruction::STATICCALL
solidity::Instruction::CREATE2
};
if (futureInstructions.count(_instr))
m_errorReporter.warning(
Expand Down

0 comments on commit 730de30

Please sign in to comment.