ossfuzz: Enable optimization in Assembly stack assembler call.

This commit is contained in:
Bhargava Shastry 2019-03-26 13:42:51 +01:00
parent 6eb0349b88
commit a895ccba39

View File

@ -35,7 +35,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* _data, size_t _size)
try
{
MachineAssemblyObject obj = stack.assemble(AssemblyStack::Machine::EVM);
MachineAssemblyObject obj = stack.assemble(AssemblyStack::Machine::EVM, /*optimize=*/true);
solAssert(obj.bytecode, "");
}
catch (StackTooDeepError const&)