aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
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/analysis
parent3b75c5b45fdb1bfb49b4e157e031154c57b475f3 (diff)
downloaddexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.gz
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.bz2
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.lz
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.xz
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.tar.zst
dexon-solidity-8fe79fe706fd64146ffbf345e0241b7c4357ce43.zip
Introduce Julia mode in AsmAnalyzer
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/ReferencesResolver.cpp2
-rw-r--r--libsolidity/analysis/TypeChecker.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp
index 83ea17c7..f5fffb57 100644
--- a/libsolidity/analysis/ReferencesResolver.cpp
+++ b/libsolidity/analysis/ReferencesResolver.cpp
@@ -194,7 +194,7 @@ bool ReferencesResolver::visit(InlineAssembly const& _inlineAssembly)
// Will be re-generated later with correct information
assembly::AsmAnalysisInfo analysisInfo;
- assembly::AsmAnalyzer(analysisInfo, errorsIgnored, resolver).analyze(_inlineAssembly.operations());
+ assembly::AsmAnalyzer(analysisInfo, errorsIgnored, false, resolver).analyze(_inlineAssembly.operations());
return false;
}
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index ad22cc66..528a23da 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -711,6 +711,7 @@ bool TypeChecker::visit(InlineAssembly const& _inlineAssembly)
assembly::AsmAnalyzer analyzer(
*_inlineAssembly.annotation().analysisInfo,
m_errors,
+ false,
identifierAccess
);
if (!analyzer.analyze(_inlineAssembly.operations()))