mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implement address(...).code in the IR
This commit is contained in:
committed by
Alex Beregszaszi
parent
7b347b9ec2
commit
baaf7c0db8
@@ -460,6 +460,11 @@ public:
|
||||
std::string const& _creationObjectName
|
||||
);
|
||||
|
||||
/// @returns the name of a function that copies code from a given address to a newly
|
||||
/// allocated byte array in memory.
|
||||
/// Signature: (address) -> mpos
|
||||
std::string externalCodeFunction();
|
||||
|
||||
private:
|
||||
/// Special case of conversion functions - handles all array conversions.
|
||||
std::string arrayConversionFunction(ArrayType const& _from, ArrayType const& _to);
|
||||
|
||||
Reference in New Issue
Block a user