diff options
Diffstat (limited to 'Compiler.h')
-rw-r--r-- | Compiler.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,7 +73,10 @@ private: void appendFunctionSelector(ContractDefinition const& _contract); /// Creates code that unpacks the arguments for the given function represented by a vector of TypePointers. /// From memory if @a _fromMemory is true, otherwise from call data. - void appendCalldataUnpacker(TypePointers const& _typeParameters, bool _fromMemory = false); + /// Expects source offset on the stack. + void appendCalldataUnpacker(TypePointers const& _typeParameters, + bool _fromMemory = false, + u256 _startOffset = u256(-1)); void appendReturnValuePacker(TypePointers const& _typeParameters); void registerStateVariables(ContractDefinition const& _contract); |