mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document variableHeightDiff.
This commit is contained in:
parent
92cd1ddb7d
commit
f5d8636d28
@ -201,6 +201,8 @@ private:
|
||||
/// Determines the stack height difference to the given variables. Throws
|
||||
/// if it is not yet in scope or the height difference is too large. Returns
|
||||
/// the (positive) stack height difference otherwise.
|
||||
/// @param _forSwap if true, produces stack error if the difference is invalid for a swap
|
||||
/// opcode, otherwise checks for validity for a dup opcode.
|
||||
size_t variableHeightDiff(Scope::Variable const& _var, YulString _name, bool _forSwap);
|
||||
|
||||
void expectDeposit(int _deposit, int _oldHeight) const;
|
||||
|
Loading…
Reference in New Issue
Block a user