mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Small points on the instruction table
Fixes #1205 `sload` was not marked with a `-`, contrary to the description of #1205
This commit is contained in:
		
							parent
							
								
									5e75cae28a
								
							
						
					
					
						commit
						550c92cb2f
					
				| @ -505,7 +505,7 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly. | |||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | pc                      |      | current position in code                                        | | | pc                      |      | current position in code                                        | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | pop                     | `*`  | remove topmost stack slot                                       | | | pop(x)                  | `-`  | remove the element pushed by x                                  | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | dup1 ... dup16          |      | copy ith stack slot to the top (counting from top)              | | | dup1 ... dup16          |      | copy ith stack slot to the top (counting from top)              | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| @ -561,9 +561,9 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly. | |||||||
| | delegatecall(g, a, in,  |      | identical to `callcode` but also keep ``caller``                | | | delegatecall(g, a, in,  |      | identical to `callcode` but also keep ``caller``                | | ||||||
| | insize, out, outsize)   |      | and ``callvalue``                                               | | | insize, out, outsize)   |      | and ``callvalue``                                               | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | return(p, s)            | `*`  | end execution, return data mem[p..(p+s))                        | | | return(p, s)            | `-`  | end execution, return data mem[p..(p+s))                        | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | selfdestruct(a)         | `*`  | end execution, destroy current contract and send funds to a     | | | selfdestruct(a)         | `-`  | end execution, destroy current contract and send funds to a     | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
| | log0(p, s)              | `-`  | log without topics and data mem[p..(p+s))                       | | | log0(p, s)              | `-`  | log without topics and data mem[p..(p+s))                       | | ||||||
| +-------------------------+------+-----------------------------------------------------------------+ | +-------------------------+------+-----------------------------------------------------------------+ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user