aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmAnalysis.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-25 08:59:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-27 03:39:30 +0800
commit8fe79fe706fd64146ffbf345e0241b7c4357ce43 (patch)
tree4b17df95faa4f1e901bae7a4d6b698a2923d0cc7 /libsolidity/inlineasm/AsmAnalysis.h
parent3b75c5b45fdb1bfb49b4e157e031154c57b475f3 (diff)
downloaddexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.gz
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.zst
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.zip
Introduce Julia mode in AsmAnalyzer
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysis.h')
-rw-r--r--libsolidity/inlineasm/AsmAnalysis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.h b/libsolidity/inlineasm/AsmAnalysis.h
index 8244df84..87d41e11 100644
--- a/libsolidity/inlineasm/AsmAnalysis.h
+++ b/libsolidity/inlineasm/AsmAnalysis.h
@@ -64,8 +64,9 @@ public:
explicit AsmAnalyzer(
AsmAnalysisInfo& _analysisInfo,
ErrorList& _errors,
+ bool _julia = false,
julia::ExternalIdentifierAccess::Resolver const& _resolver = julia::ExternalIdentifierAccess::Resolver()
- ): m_resolver(_resolver), m_info(_analysisInfo), m_errors(_errors) {}
+ ): m_resolver(_resolver), m_info(_analysisInfo), m_errors(_errors), m_julia(_julia) {}
bool analyze(assembly::Block const& _block);
@@ -99,6 +100,7 @@ private:
Scope* m_currentScope = nullptr;
AsmAnalysisInfo& m_info;
ErrorList& m_errors;
+ bool m_julia = false;
};
}