Support strict assembly mode in AssemblyStack

This commit is contained in:
Alex Beregszaszi 2018-01-05 23:08:47 +00:00
parent 124190336b
commit c269a12c5e
2 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,8 @@ assembly::AsmFlavour languageToAsmFlavour(AssemblyStack::Language _language)
{
case AssemblyStack::Language::Assembly:
return assembly::AsmFlavour::Loose;
case AssemblyStack::Language::StrictAssembly:
return assembly::AsmFlavour::Strict;
case AssemblyStack::Language::JULIA:
return assembly::AsmFlavour::IULIA;
}

View File

@ -51,7 +51,7 @@ struct MachineAssemblyObject
class AssemblyStack
{
public:
enum class Language { JULIA, Assembly };
enum class Language { JULIA, Assembly, StrictAssembly };
enum class Machine { EVM, EVM15, eWasm };
explicit AssemblyStack(Language _language = Language::Assembly):