aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-12 19:47:37 +0800
committerChristian <c@ethdev.com>2015-01-14 01:12:30 +0800
commitec022783c4ba2a319ce60dc818e4f0e0e8872093 (patch)
tree2aeae1ab591ca84bd4c83ab31ed5b72a33a79422 /ExpressionCompiler.h
parent80eec8b308e8af3b742e3da47ded927e4e4b388d (diff)
downloaddexon-solidity-ec022783c4ba2a319ce60dc818e4f0e0e8872093.tar.gz
dexon-solidity-ec022783c4ba2a319ce60dc818e4f0e0e8872093.tar.zst
dexon-solidity-ec022783c4ba2a319ce60dc818e4f0e0e8872093.zip
Modify gas and value for external function call.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r--ExpressionCompiler.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h
index 98f58c85..024c4644 100644
--- a/ExpressionCompiler.h
+++ b/ExpressionCompiler.h
@@ -87,21 +87,9 @@ private:
//// Appends code that cleans higher-order bits for integer types.
void appendHighBitsCleanup(IntegerType const& _typeOnStack);
- /// Additional options used in appendExternalFunctionCall.
- struct FunctionCallOptions
- {
- FunctionCallOptions() {}
- /// Invoked to copy the address to the stack
- std::function<void()> obtainAddress;
- /// Invoked to copy the ethe value to the stack (if not specified, value is 0).
- std::function<void()> obtainValue;
- /// If true, do not prepend function index to call data
- bool bare = false;
- };
-
/// 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,
- FunctionCallOptions const& _options = FunctionCallOptions());
+ bool bare = false);
/**
* Helper class to store and retrieve lvalues to and from various locations.