diff options
author | chriseth <chris@ethereum.org> | 2017-06-08 21:52:15 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-09 17:45:36 +0800 |
commit | 6b3e7f79cf42edd031a2000978e394d818212b39 (patch) | |
tree | 39176b3ba7da9d82902abbd8eca041845a33bb0b /libjulia/backends/evm/EVMAssembly.h | |
parent | 40cb14cdefea38c7b09439210e9eaa8806d609ed (diff) | |
download | dexon-solidity-6b3e7f79cf42edd031a2000978e394d818212b39.tar.gz dexon-solidity-6b3e7f79cf42edd031a2000978e394d818212b39.tar.zst dexon-solidity-6b3e7f79cf42edd031a2000978e394d818212b39.zip |
Comments and consistent variable names.
Diffstat (limited to 'libjulia/backends/evm/EVMAssembly.h')
-rw-r--r-- | libjulia/backends/evm/EVMAssembly.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjulia/backends/evm/EVMAssembly.h b/libjulia/backends/evm/EVMAssembly.h index 4b0076dd..a2df0cdc 100644 --- a/libjulia/backends/evm/EVMAssembly.h +++ b/libjulia/backends/evm/EVMAssembly.h @@ -60,13 +60,13 @@ public: /// @param _stackDiffAfter the stack adjustment after this instruction. virtual void appendJump(int _stackDiffAfter) override; /// Append a jump-to-immediate operation. - virtual void appendJumpTo(LabelID _label, int _stackDiffAfter) override; + virtual void appendJumpTo(LabelID _labelId, int _stackDiffAfter) override; /// Append a jump-to-if-immediate operation. - virtual void appendJumpToIf(LabelID _label) override; + virtual void appendJumpToIf(LabelID _labelId) override; /// Start a subroutine. - virtual void appendBeginsub(LabelID _label, int _arguments) override; + virtual void appendBeginsub(LabelID _labelId, int _arguments) override; /// Call a subroutine. - virtual void appendJumpsub(LabelID _label, int _arguments, int _returns) override; + virtual void appendJumpsub(LabelID _labelId, int _arguments, int _returns) override; /// Return from a subroutine. virtual void appendReturnsub(int _returns, int _stackDiffAfter) override; @@ -79,7 +79,7 @@ private: void appendLabelReferenceInternal(AbstractAssembly::LabelID _labelId); bool m_evm15 = false; ///< if true, switch to evm1.5 mode - LabelID m_nextLabelID = 0; + LabelID m_nextLabelId = 0; int m_stackHeight = 0; bytes m_bytecode; std::map<LabelID, size_t> m_labelPositions; |