Browse Source

Renamed file.

cl-refactor
Christian 10 years ago
parent
commit
6f3afc8583
  1. 2
      libsolidity/Compiler.h
  2. 0
      libsolidity/CompilerContext.cpp
  3. 0
      libsolidity/CompilerContext.h
  4. 1
      libsolidity/ExpressionCompiler.cpp
  5. 4
      libsolidity/ExpressionCompiler.h
  6. 1
      test/solidityExpressionCompiler.cpp

2
libsolidity/Compiler.h

@ -21,7 +21,7 @@
*/
#include <libsolidity/ASTVisitor.h>
#include <libsolidity/CompilerUtilities.h>
#include <libsolidity/CompilerContext.h>
namespace dev {
namespace solidity {

0
libsolidity/CompilerUtilities.cpp → libsolidity/CompilerContext.cpp

0
libsolidity/CompilerUtilities.h → libsolidity/CompilerContext.h

1
libsolidity/ExpressionCompiler.cpp

@ -25,6 +25,7 @@
#include <numeric>
#include <libsolidity/AST.h>
#include <libsolidity/ExpressionCompiler.h>
#include <libsolidity/CompilerContext.h>
using namespace std;

4
libsolidity/ExpressionCompiler.h

@ -21,11 +21,12 @@
*/
#include <libsolidity/ASTVisitor.h>
#include <libsolidity/CompilerUtilities.h>
namespace dev {
namespace solidity {
class CompilerContext; // forward
/// 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
/// unit.
@ -68,7 +69,6 @@ private:
void moveToLValue(Expression const& _expression);
/// Returns the position of @a m_currentLValue in the stack, where 0 is the top of the stack.
unsigned stackPositionOfLValue() const;
void adjustStackOffset(eth::Instruction _instruction);
Declaration* m_currentLValue;
CompilerContext& m_context;

1
test/solidityExpressionCompiler.cpp

@ -27,6 +27,7 @@
#include <libsolidity/Scanner.h>
#include <libsolidity/Parser.h>
#include <libsolidity/NameAndTypeResolver.h>
#include <libsolidity/CompilerContext.h>
#include <libsolidity/ExpressionCompiler.h>
#include <libsolidity/AST.h>
#include <boost/test/unit_test.hpp>

Loading…
Cancel
Save