mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Pass internal resolver to assembly analyzer.
This commit is contained in:
parent
0ebaf220b5
commit
3df7b06464
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user