Support bare calls.

This commit is contained in:
chriseth
2020-05-11 15:11:46 +02:00
parent 4c13ce24f0
commit c0bf529236
9 changed files with 136 additions and 75 deletions
@@ -106,6 +106,13 @@ private:
std::vector<ASTPointer<Expression const>> const& _arguments
);
/// Appends code for .call / .delegatecall / .staticcall.
/// All involved expressions have already been visited.
void appendBareCall(
FunctionCall const& _functionCall,
std::vector<ASTPointer<Expression const>> const& _arguments
);
/// @returns code that evaluates to the first unused memory slot (which does not have to
/// be empty).
static std::string freeMemory();