From 3df7b064644d4f17572b82283c4f017e98041b17 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 24 Apr 2017 19:50:12 +0200 Subject: Pass internal resolver to assembly analyzer. --- libsolidity/inlineasm/AsmStack.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libsolidity/inlineasm/AsmStack.cpp') 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); -- cgit