mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
    let start := calldataload(0x10)
 | 
						|
    if calldataload(0) {
 | 
						|
        // not covered
 | 
						|
        mstore(add(start, 2), 7)
 | 
						|
        calldatacopy(start, 0, 0x20)
 | 
						|
    }
 | 
						|
    if calldataload(1) {
 | 
						|
        // covered
 | 
						|
        mstore(add(start, 2), 9)
 | 
						|
        calldatacopy(add(start, 1), 0, 0x21)
 | 
						|
    }
 | 
						|
    if calldataload(2) {
 | 
						|
        // covered
 | 
						|
        mstore8(add(start, 2), 7)
 | 
						|
        calldatacopy(start, 0, 3)
 | 
						|
    }
 | 
						|
    if calldataload(3) {
 | 
						|
        // not covered
 | 
						|
        mstore8(add(start, 3), 7)
 | 
						|
        calldatacopy(start, 0, 3)
 | 
						|
    }
 | 
						|
    sstore(0, keccak256(start, 0x40))
 | 
						|
}
 | 
						|
// ----
 | 
						|
// step: unusedStoreEliminator
 | 
						|
//
 | 
						|
// {
 | 
						|
//     {
 | 
						|
//         let start := calldataload(0x10)
 | 
						|
//         if calldataload(0)
 | 
						|
//         {
 | 
						|
//             let _4 := 7
 | 
						|
//             mstore(add(start, 2), _4)
 | 
						|
//             calldatacopy(start, 0, 0x20)
 | 
						|
//         }
 | 
						|
//         if calldataload(1)
 | 
						|
//         {
 | 
						|
//             let _11 := 9
 | 
						|
//             mstore(add(start, 2), _11)
 | 
						|
//             let _14 := 0x21
 | 
						|
//             let _15 := 0
 | 
						|
//             calldatacopy(add(start, 1), _15, _14)
 | 
						|
//         }
 | 
						|
//         if calldataload(2)
 | 
						|
//         {
 | 
						|
//             let _20 := 7
 | 
						|
//             mstore8(add(start, 2), _20)
 | 
						|
//             calldatacopy(start, 0, 3)
 | 
						|
//         }
 | 
						|
//         if calldataload(3)
 | 
						|
//         {
 | 
						|
//             let _27 := 7
 | 
						|
//             mstore8(add(start, 3), _27)
 | 
						|
//             calldatacopy(start, 0, 3)
 | 
						|
//         }
 | 
						|
//         sstore(0, keccak256(start, 0x40))
 | 
						|
//     }
 | 
						|
// }
 |