aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-11 06:01:40 +0800
committerChristian <c@ethdev.com>2014-12-13 00:26:19 +0800
commitc0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5 (patch)
treeb3fa2b6b006b6d1b9799abe9e2ed25ddc685d370 /Types.h
parent6893d4d4557e9968feaa162c8fc5ea3859aa0565 (diff)
downloaddexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.gz
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.bz2
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.lz
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.xz
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.tar.zst
dexon-solidity-c0bba438b1d93b3ebba46e03935dbdf8b1ba6bd5.zip
Calls to bare contracts.
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Types.h b/Types.h
index 8e93bd31..807e60c7 100644
--- a/Types.h
+++ b/Types.h
@@ -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);