mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add chainid and selfbalance to lllc
This commit is contained in:
@@ -732,6 +732,14 @@ void AsmAnalyzer::warnOnInstructions(dev::eth::Instruction _instr, SourceLocatio
|
||||
{
|
||||
errorForVM("only available for Constantinople-compatible");
|
||||
}
|
||||
else if (_instr == dev::eth::Instruction::CHAINID && !m_evmVersion.hasChainID())
|
||||
{
|
||||
errorForVM("only available for Istanbul-compatible");
|
||||
}
|
||||
else if (_instr == dev::eth::Instruction::SELFBALANCE && !m_evmVersion.hasSelfBalance())
|
||||
{
|
||||
errorForVM("only available for Istanbul-compatible");
|
||||
}
|
||||
else if (
|
||||
_instr == dev::eth::Instruction::JUMP ||
|
||||
_instr == dev::eth::Instruction::JUMPI ||
|
||||
|
||||
Reference in New Issue
Block a user