aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Compiler.h b/Compiler.h
index 670c7467..589efbff 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -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);