diff options
author | Christian <c@ethdev.com> | 2014-12-11 06:01:40 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-13 00:26:19 +0800 |
commit | c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5 (patch) | |
tree | b3fa2b6b006b6d1b9799abe9e2ed25ddc685d370 /Types.h | |
parent | 6893d4d4557e9968feaa162c8fc5ea3859aa0565 (diff) | |
download | dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.gz dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.zst dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.zip |
Calls to bare contracts.
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -296,8 +296,9 @@ class FunctionType: public Type public: /// The meaning of the value(s) on the stack referencing the function: /// INTERNAL: jump tag, EXTERNAL: contract address + function index, + /// BARE: contract address (non-abi contract call) /// OTHERS: special virtual function, nothing on the stack - enum class Location { INTERNAL, EXTERNAL, SEND, SHA3, SUICIDE, ECRECOVER, SHA256, RIPEMD160 }; + enum class Location { INTERNAL, EXTERNAL, SEND, SHA3, SUICIDE, ECRECOVER, SHA256, RIPEMD160, BARE }; virtual Category getCategory() const override { return Category::FUNCTION; } explicit FunctionType(FunctionDefinition const& _function, bool _isInternal = true); |