mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move msg.gas to global function gasleft(). Closes #2971.
This commit is contained in:
@@ -902,7 +902,8 @@ public:
|
||||
ByteArrayPush, ///< .push() to a dynamically sized byte array in storage
|
||||
ObjectCreation, ///< array creation using new
|
||||
Assert, ///< assert()
|
||||
Require ///< require()
|
||||
Require, ///< require()
|
||||
GasLeft ///< gasleft()
|
||||
};
|
||||
|
||||
virtual Category category() const override { return Category::Function; }
|
||||
|
||||
Reference in New Issue
Block a user