Merge pull request #5938 from ethereum/const-opt-protected

Mark apropriate methods protected in ConstantOptimiser
This commit is contained in:
chriseth 2019-02-05 20:59:09 +01:00 committed by GitHub
commit 1f7e286158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,9 @@ public:
Assembly& _assembly Assembly& _assembly
); );
protected:
/// This is the public API for the optimiser methods, but it doesn't need to be exposed to the caller.
struct Params struct Params
{ {
bool isCreation; ///< Whether this is called during contract creation or runtime. bool isCreation; ///< Whether this is called during contract creation or runtime.