From 8c1d928c944b70cf7318d8277cdfbf2ef0421857 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Tue, 3 Feb 2015 14:02:58 +0100 Subject: Solidity SHA3 can now take multiple arguments --- ExpressionCompiler.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ExpressionCompiler.h') diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index 7de577e6..b977657b 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -97,10 +97,12 @@ private: unsigned appendArgumentCopyToMemory(TypePointers const& _types, std::vector> const& _arguments, unsigned _memoryOffset = 0); - /// Appends code that copies a type to memory. + /// Appends code that copies the given arguments that should all have the + /// same @a _type to memory (with optional offset). /// @returns the number of bytes copied to memory - unsigned appendTypeConversionAndMoveToMemory(Type const& _expectedType, Type const& _type, - Location const& _location, unsigned _memoryOffset = 0); + unsigned appendSameTypeArgumentsCopyToMemory(TypePointer const& _type, + std::vector> const& _arguments, + unsigned _memoryOffset = 0); /// Appends code that evaluates a single expression and copies it to memory (with optional offset). /// @returns the number of bytes copied to memory unsigned appendExpressionCopyToMemory(Type const& _expectedType, Expression const& _expression, -- cgit