aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-04 21:11:49 +0800
committerGitHub <noreply@github.com>2018-12-04 21:11:49 +0800
commit8654f8f6d4cb8f609d5b43df217aff1406acbe6a (patch)
treef6c984d082b7da3ce34e464f392d7bab8d445301 /libsolidity/codegen
parent4e5dabf832ddefc30035e67ad450a12f17c8345a (diff)
parent99db4e3ff45c2a8d5d9c645774f099b82b7618ec (diff)
downloaddexon-solidity-8654f8f6d4cb8f609d5b43df217aff1406acbe6a.tar.gz
dexon-solidity-8654f8f6d4cb8f609d5b43df217aff1406acbe6a.tar.zst
dexon-solidity-8654f8f6d4cb8f609d5b43df217aff1406acbe6a.zip
Merge pull request #5573 from ethereum/builtins
[Yul] Introduce the concept of builtin functions.
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/CompilerContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index 5a3a233c..039738a6 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -361,7 +361,7 @@ void CompilerContext::appendInlineAssembly(
ErrorList errors;
ErrorReporter errorReporter(errors);
auto scanner = make_shared<langutil::Scanner>(langutil::CharStream(_assembly, "--CODEGEN--"));
- auto parserResult = yul::Parser(errorReporter, yul::AsmFlavour::Strict).parse(scanner, false);
+ auto parserResult = yul::Parser(errorReporter, yul::Dialect::strictAssemblyForEVM()).parse(scanner, false);
#ifdef SOL_OUTPUT_ASM
cout << yul::AsmPrinter()(*parserResult) << endl;
#endif
@@ -373,7 +373,7 @@ void CompilerContext::appendInlineAssembly(
errorReporter,
m_evmVersion,
boost::none,
- yul::AsmFlavour::Strict,
+ yul::Dialect::strictAssemblyForEVM(),
identifierAccess.resolve
).analyze(*parserResult);
if (!parserResult || !errorReporter.errors().empty() || !analyzerResult)