Mark a lot of functions static (where possible)

This commit is contained in:
Alex Beregszaszi
2017-08-22 10:51:46 +01:00
parent 2a5772cff7
commit 9897c56b2c
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ public:
virtual AssemblyItems execute(Assembly& _assembly) const override;
protected:
AssemblyItems const& copyRoutine() const;
static AssemblyItems const& copyRoutine();
};
/**
@@ -151,7 +151,7 @@ protected:
/// Tries to recursively find a way to compute @a _value.
AssemblyItems findRepresentation(u256 const& _value);
/// Recomputes the value from the calculated representation and checks for correctness.
bool checkRepresentation(u256 const& _value, AssemblyItems const& _routine) const;
static bool checkRepresentation(u256 const& _value, AssemblyItems const& _routine);
bigint gasNeeded(AssemblyItems const& _routine) const;
/// Counter for the complexity of optimization, will stop when it reaches zero.