mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Renamed file.
This commit is contained in:
parent
d3f5c6a0c8
commit
a5f3602738
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <libsolidity/ASTVisitor.h>
|
#include <libsolidity/ASTVisitor.h>
|
||||||
#include <libsolidity/CompilerUtilities.h>
|
#include <libsolidity/CompilerContext.h>
|
||||||
|
|
||||||
namespace dev {
|
namespace dev {
|
||||||
namespace solidity {
|
namespace solidity {
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <libsolidity/AST.h>
|
#include <libsolidity/AST.h>
|
||||||
#include <libsolidity/ExpressionCompiler.h>
|
#include <libsolidity/ExpressionCompiler.h>
|
||||||
|
#include <libsolidity/CompilerContext.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -21,11 +21,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <libsolidity/ASTVisitor.h>
|
#include <libsolidity/ASTVisitor.h>
|
||||||
#include <libsolidity/CompilerUtilities.h>
|
|
||||||
|
|
||||||
namespace dev {
|
namespace dev {
|
||||||
namespace solidity {
|
namespace solidity {
|
||||||
|
|
||||||
|
class CompilerContext; // forward
|
||||||
|
|
||||||
/// Compiler for expressions, i.e. converts an AST tree whose root is an Expression into a stream
|
/// Compiler for expressions, i.e. converts an AST tree whose root is an Expression into a stream
|
||||||
/// of EVM instructions. It needs a compiler context that is the same for the whole compilation
|
/// of EVM instructions. It needs a compiler context that is the same for the whole compilation
|
||||||
/// unit.
|
/// unit.
|
||||||
@ -68,7 +69,6 @@ private:
|
|||||||
void moveToLValue(Expression const& _expression);
|
void moveToLValue(Expression const& _expression);
|
||||||
/// Returns the position of @a m_currentLValue in the stack, where 0 is the top of the stack.
|
/// Returns the position of @a m_currentLValue in the stack, where 0 is the top of the stack.
|
||||||
unsigned stackPositionOfLValue() const;
|
unsigned stackPositionOfLValue() const;
|
||||||
void adjustStackOffset(eth::Instruction _instruction);
|
|
||||||
|
|
||||||
Declaration* m_currentLValue;
|
Declaration* m_currentLValue;
|
||||||
CompilerContext& m_context;
|
CompilerContext& m_context;
|
||||||
|
Loading…
Reference in New Issue
Block a user