aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-14 01:12:19 +0800
committerChristian <c@ethdev.com>2015-01-14 01:12:30 +0800
commitb440d7e321793e0b053d3b467934a45f880863e0 (patch)
tree9144aea74cfd5c67188bd9a75ba9fb1673c0e0b1 /ExpressionCompiler.h
parentec022783c4ba2a319ce60dc818e4f0e0e8872093 (diff)
downloaddexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.tar.gz
dexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.tar.zst
dexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.zip
Specify value for contract creation.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r--ExpressionCompiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h
index 024c4644..4a696c39 100644
--- a/ExpressionCompiler.h
+++ b/ExpressionCompiler.h
@@ -90,6 +90,10 @@ private:
/// Appends code to call a function of the given type with the given arguments.
void appendExternalFunctionCall(FunctionType const& _functionType, std::vector<ASTPointer<Expression const>> const& _arguments,
bool bare = false);
+ /// Appends code that copies the given arguments to memory (with optional offset).
+ /// @returns the number of bytes copied to memory
+ unsigned appendArgumentCopyToMemory(TypePointers const& _functionType, std::vector<ASTPointer<Expression const>> const& _arguments,
+ unsigned _memoryOffset = 0);
/**
* Helper class to store and retrieve lvalues to and from various locations.