mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'develop' of https://github.com/ethereum/cpp-ethereum into develop
This commit is contained in:
commit
7cb9b566b7
@ -944,6 +944,14 @@ BOOST_AUTO_TEST_CASE(cse_access_previous_sequence)
|
|||||||
// 0, SLOAD, 1, ADD, SSTORE, 0 SLOAD
|
// 0, SLOAD, 1, ADD, SSTORE, 0 SLOAD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOST_AUTO_TEST_CASE(cse_optimise_return)
|
||||||
|
{
|
||||||
|
checkCSE(
|
||||||
|
AssemblyItems{u256(0), u256(7), Instruction::RETURN},
|
||||||
|
AssemblyItems{Instruction::STOP}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(control_flow_graph_remove_unused)
|
BOOST_AUTO_TEST_CASE(control_flow_graph_remove_unused)
|
||||||
{
|
{
|
||||||
// remove parts of the code that are unused
|
// remove parts of the code that are unused
|
||||||
|
Loading…
Reference in New Issue
Block a user