aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ABIFunctions.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-05 18:59:42 +0800
committerGitHub <noreply@github.com>2017-10-05 18:59:42 +0800
commit6ba0c2bba85ba099b10c58d1c7d10d91e1364471 (patch)
tree213903b1ff0f407e1795037507b9f4c62988cd8f /libsolidity/codegen/ABIFunctions.h
parent880be2581108f570d0824352ff7221c8cae3a998 (diff)
parent80cefb9cc810a96fea5817511d3fd908e960bf80 (diff)
downloaddexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar.gz
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar.bz2
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar.lz
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar.xz
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.tar.zst
dexon-solidity-6ba0c2bba85ba099b10c58d1c7d10d91e1364471.zip
Merge pull request #2982 from ethereum/encoderFixes
ABI encoder fixes and test.
Diffstat (limited to 'libsolidity/codegen/ABIFunctions.h')
-rw-r--r--libsolidity/codegen/ABIFunctions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/codegen/ABIFunctions.h b/libsolidity/codegen/ABIFunctions.h
index de2a140a..e61f68bc 100644
--- a/libsolidity/codegen/ABIFunctions.h
+++ b/libsolidity/codegen/ABIFunctions.h
@@ -89,13 +89,13 @@ private:
/// @returns the name of the ABI encoding function with the given type
/// and queues the generation of the function to the requested functions.
- /// @param _compacted if true, the input value was just loaded from storage
+ /// @param _fromStack if false, the input value was just loaded from storage
/// or memory and thus might be compacted into a single slot (depending on the type).
std::string abiEncodingFunction(
Type const& _givenType,
Type const& _targetType,
bool _encodeAsLibraryTypes,
- bool _compacted
+ bool _fromStack
);
/// Part of @a abiEncodingFunction for array target type and given calldata array.
std::string abiEncodingFunctionCalldataArray(
@@ -143,7 +143,7 @@ private:
FunctionType const& _from,
Type const& _to,
bool _encodeAsLibraryTypes,
- bool _compacted
+ bool _fromStack
);
/// @returns a function that copies raw bytes of dynamic length from calldata