Merge pull request #9534 from ethereum/inlineasm-tests

Remove errenous error duplication and move some tests around
This commit is contained in:
chriseth 2020-07-28 12:14:25 +02:00 committed by GitHub
commit 7da82534d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -646,8 +646,6 @@ bool AsmAnalyzer::validateInstructions(evmasm::Instruction _instr, SourceLocatio
"PC instruction is a low-level EVM feature. "
"Because of that PC is disallowed in strict assembly."
);
else if (_instr == evmasm::Instruction::SELFBALANCE && !m_evmVersion.hasSelfBalance())
errorForVM(3672_error, "only available for Istanbul-compatible");
else
return false;