diff options
author | chriseth <chris@ethereum.org> | 2018-12-04 22:55:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 22:55:53 +0800 |
commit | 8b38cf3ed43d17a7d80a45237f1ec5b538af55b3 (patch) | |
tree | c6a34c4f194a088f749aec0e875f15f4cd05fc61 /libsolidity/codegen/CompilerContext.cpp | |
parent | 126ed2e990280b7200a7872d8d6f5b8db14e4b0a (diff) | |
parent | 7ee1ddc172a29ed1ccdd545a996d19f4c2a145a3 (diff) | |
download | dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar.gz dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar.bz2 dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar.lz dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar.xz dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.tar.zst dexon-solidity-8b38cf3ed43d17a7d80a45237f1ec5b538af55b3.zip |
Merge pull request #5586 from ethereum/refactorEVMAssembly
Refactor evm assembly
Diffstat (limited to 'libsolidity/codegen/CompilerContext.cpp')
-rw-r--r-- | libsolidity/codegen/CompilerContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp index 039738a6..5ccdac37 100644 --- a/libsolidity/codegen/CompilerContext.cpp +++ b/libsolidity/codegen/CompilerContext.cpp @@ -24,10 +24,10 @@ #include <libsolidity/codegen/CompilerUtils.h> #include <libsolidity/ast/AST.h> #include <libsolidity/codegen/Compiler.h> +#include <libsolidity/codegen/AsmCodeGen.h> #include <libsolidity/interface/Version.h> #include <liblangutil/SourceReferenceFormatter.h> #include <libyul/AsmParser.h> -#include <libyul/AsmCodeGen.h> #include <libyul/AsmAnalysis.h> #include <libyul/AsmAnalysisInfo.h> #include <libyul/YulString.h> @@ -395,7 +395,7 @@ void CompilerContext::appendInlineAssembly( } solAssert(errorReporter.errors().empty(), "Failed to analyze inline assembly block."); - yul::CodeGenerator::assemble(*parserResult, analysisInfo, *m_asm, identifierAccess, _system); + CodeGenerator::assemble(*parserResult, analysisInfo, *m_asm, identifierAccess, _system); // Reset the source location to the one of the node (instead of the CODEGEN source location) updateSourceLocation(); |