mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support strict assembly mode in AssemblyStack
This commit is contained in:
parent
124190336b
commit
c269a12c5e
@ -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;
|
||||
}
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user