aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmStack.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-03-22 02:38:37 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:49:03 +0800
commitc6fa78c73e3a23661014fd03b92d74d2e7df9e81 (patch)
tree7ad6f3ff22eb5bccd72cd868d153f0370203783a /libsolidity/inlineasm/AsmStack.cpp
parente0849f2f3bbb23ebddb37cd770f46266967e789d (diff)
downloaddexon-solidity-c6fa78c73e3a23661014fd03b92d74d2e7df9e81.tar.gz
dexon-solidity-c6fa78c73e3a23661014fd03b92d74d2e7df9e81.tar.zst
dexon-solidity-c6fa78c73e3a23661014fd03b92d74d2e7df9e81.zip
Use actual type checking phase of assembler.
Diffstat (limited to 'libsolidity/inlineasm/AsmStack.cpp')
-rw-r--r--libsolidity/inlineasm/AsmStack.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmStack.cpp b/libsolidity/inlineasm/AsmStack.cpp
index 09084642..146fc114 100644
--- a/libsolidity/inlineasm/AsmStack.cpp
+++ b/libsolidity/inlineasm/AsmStack.cpp
@@ -39,7 +39,10 @@ using namespace dev;
using namespace dev::solidity;
using namespace dev::solidity::assembly;
-bool InlineAssemblyStack::parse(shared_ptr<Scanner> const& _scanner)
+bool InlineAssemblyStack::parse(
+ shared_ptr<Scanner> const& _scanner,
+ ExternalIdentifierAccess::Resolver const& _resolver
+)
{
m_parserResult = make_shared<Block>();
Parser parser(m_errors);
@@ -49,7 +52,7 @@ bool InlineAssemblyStack::parse(shared_ptr<Scanner> const& _scanner)
*m_parserResult = std::move(*result);
AsmAnalyzer::Scopes scopes;
- return (AsmAnalyzer(scopes, m_errors, false)).analyze(*m_parserResult);
+ return (AsmAnalyzer(scopes, m_errors, _resolver)).analyze(*m_parserResult);
}
string InlineAssemblyStack::toString()