mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ObjectCompilerTest: Replace 'optimize' setting with 'optimizationPreset'
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <test/TestCase.h>
|
||||
|
||||
#include <libsolidity/interface/OptimiserSettings.h>
|
||||
|
||||
namespace solidity::langutil
|
||||
{
|
||||
class Scanner;
|
||||
@@ -54,7 +56,7 @@ private:
|
||||
|
||||
static void printErrors(std::ostream& _stream, langutil::ErrorList const& _errors);
|
||||
|
||||
bool m_optimize = false;
|
||||
frontend::OptimisationPreset m_optimisationPreset;
|
||||
bool m_wasm = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user