mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Split external type into ecoding and interface type.
This commit is contained in:
@@ -160,7 +160,7 @@ void CompilerUtils::encodeToMemory(
|
||||
TypePointers targetTypes = _targetTypes.empty() ? _givenTypes : _targetTypes;
|
||||
solAssert(targetTypes.size() == _givenTypes.size(), "");
|
||||
for (TypePointer& t: targetTypes)
|
||||
t = t->mobileType()->externalType();
|
||||
t = t->mobileType()->encodingType();
|
||||
|
||||
// Stack during operation:
|
||||
// <v1> <v2> ... <vn> <mem_start> <dyn_head_1> ... <dyn_head_r> <end_of_mem>
|
||||
|
||||
Reference in New Issue
Block a user