aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-25 01:50:12 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:49:04 +0800
commit3df7b064644d4f17572b82283c4f017e98041b17 (patch)
tree017ec2415fd52cd222b06a5a5280703803c3cc15 /libsolidity
parent0ebaf220b51cb281565db232971f63ccdc636df3 (diff)
downloaddexon-solidity-3df7b064644d4f17572b82283c4f017e98041b17.tar.gz
dexon-solidity-3df7b064644d4f17572b82283c4f017e98041b17.tar.zst
dexon-solidity-3df7b064644d4f17572b82283c4f017e98041b17.zip
Pass internal resolver to assembly analyzer.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmStack.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmStack.cpp b/libsolidity/inlineasm/AsmStack.cpp
index 65c929c8..5defae4c 100644
--- a/libsolidity/inlineasm/AsmStack.cpp
+++ b/libsolidity/inlineasm/AsmStack.cpp
@@ -80,9 +80,10 @@ bool InlineAssemblyStack::parseAndAssemble(
auto parserResult = Parser(errors).parse(scanner);
if (!errors.empty())
return false;
+ solAssert(parserResult, "");
AsmAnalyzer::Scopes scopes;
- AsmAnalyzer analyzer(scopes, errors);
+ AsmAnalyzer analyzer(scopes, errors, _identifierAccess.resolve);
solAssert(analyzer.analyze(*parserResult), "");
CodeGenerator(errors).assemble(*parserResult, scopes, _assembly, _identifierAccess);