diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-02-21 03:09:46 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-02-21 05:51:23 +0800 |
commit | d0c36795a0998f9ad143c01882cb33334cbd471c (patch) | |
tree | 13937265ed0e1e0ce325cfb0e25f3a1284ff7cd6 /ExpressionCompiler.h | |
parent | 858acaa1937ccc2f6cc13bb3076abc32c43789b0 (diff) | |
download | dexon-solidity-d0c36795a0998f9ad143c01882cb33334cbd471c.tar.gz dexon-solidity-d0c36795a0998f9ad143c01882cb33334cbd471c.tar.zst dexon-solidity-d0c36795a0998f9ad143c01882cb33334cbd471c.zip |
renamed fromIdentifier to fromStateVariable
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r-- | ExpressionCompiler.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index a29abc7f..889c58b1 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -132,12 +132,8 @@ private: std::shared_ptr<Type const> const& _dataType, unsigned _baseStackOffset = 0); /// Set type according to the declaration and retrieve the reference. - /// @a _identifier is the current identifier - void fromIdentifier(Identifier const& _identifier, Declaration const& _declaration); - - /// Set type according to the declaration and retrieve the reference. - /// @a _declaration is the variable declaration - void fromVariableDeclaration(const Declaration &_declaration); + /// @a _location is the current location + void fromDeclaration(Declaration const& _declaration, Location const& _location); void reset() { m_type = LValueType::None; m_dataType.reset(); m_baseStackOffset = 0; m_size = 0; } |