mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Optimized IR:
 | |
| /*=====================================================*
 | |
|  *                       WARNING                       *
 | |
|  *  Solidity to Yul compilation is still EXPERIMENTAL  *
 | |
|  *       It can result in LOSS OF FUNDS or worse       *
 | |
|  *                !USE AT YOUR OWN RISK!               *
 | |
|  *=====================================================*/
 | |
| 
 | |
| /// @use-src 0:"ir_compiler_inheritance_nosubobjects/input.sol", 1:"#utility.yul"
 | |
| object "C_7" {
 | |
|     code {
 | |
|         {
 | |
|             /// @src 0:82:117
 | |
|             mstore(64, 128)
 | |
|             if callvalue() { revert(0, 0) }
 | |
|             let _1 := datasize("C_7_deployed")
 | |
|             codecopy(128, dataoffset("C_7_deployed"), _1)
 | |
|             return(128, _1)
 | |
|         }
 | |
|     }
 | |
|     /// @use-src 0:"ir_compiler_inheritance_nosubobjects/input.sol", 1:"#utility.yul"
 | |
|     object "C_7_deployed" {
 | |
|         code {
 | |
|             {
 | |
|                 /// @src 0:82:117
 | |
|                 mstore(64, 128)
 | |
|                 revert(0, 0)
 | |
|             }
 | |
|         }
 | |
|         data ".metadata" hex"<BYTECODE REMOVED>"
 | |
|     }
 | |
| }
 | |
| 
 | |
| Optimized IR:
 | |
| /*=====================================================*
 | |
|  *                       WARNING                       *
 | |
|  *  Solidity to Yul compilation is still EXPERIMENTAL  *
 | |
|  *       It can result in LOSS OF FUNDS or worse       *
 | |
|  *                !USE AT YOUR OWN RISK!               *
 | |
|  *=====================================================*/
 | |
| 
 | |
| /// @use-src 0:"ir_compiler_inheritance_nosubobjects/input.sol", 1:"#utility.yul"
 | |
| object "D_10" {
 | |
|     code {
 | |
|         {
 | |
|             /// @src 0:118:137
 | |
|             mstore(64, 128)
 | |
|             if callvalue() { revert(0, 0) }
 | |
|             let _1 := datasize("D_10_deployed")
 | |
|             codecopy(128, dataoffset("D_10_deployed"), _1)
 | |
|             return(128, _1)
 | |
|         }
 | |
|     }
 | |
|     /// @use-src 0:"ir_compiler_inheritance_nosubobjects/input.sol", 1:"#utility.yul"
 | |
|     object "D_10_deployed" {
 | |
|         code {
 | |
|             {
 | |
|                 /// @src 0:118:137
 | |
|                 mstore(64, 128)
 | |
|                 revert(0, 0)
 | |
|             }
 | |
|         }
 | |
|         data ".metadata" hex"<BYTECODE REMOVED>"
 | |
|     }
 | |
| }
 |