aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/AssemblyStack.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-01-06 07:08:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-01-06 09:23:38 +0800
commitc269a12c5ed6fc243e0efd68902f0a0db71fb618 (patch)
tree74602f16e9a3a04078da82b8353c28fc52572897 /libsolidity/interface/AssemblyStack.cpp
parent124190336b0a70ea32d5f8ca0c4b364f1fc774d0 (diff)
downloaddexon-solidity-c269a12c5ed6fc243e0efd68902f0a0db71fb618.tar.gz
dexon-solidity-c269a12c5ed6fc243e0efd68902f0a0db71fb618.tar.zst
dexon-solidity-c269a12c5ed6fc243e0efd68902f0a0db71fb618.zip
Support strict assembly mode in AssemblyStack
Diffstat (limited to 'libsolidity/interface/AssemblyStack.cpp')
-rw-r--r--libsolidity/interface/AssemblyStack.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/interface/AssemblyStack.cpp b/libsolidity/interface/AssemblyStack.cpp
index 7cec2798..1b4bd270 100644
--- a/libsolidity/interface/AssemblyStack.cpp
+++ b/libsolidity/interface/AssemblyStack.cpp
@@ -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;
}