Only use yulAssert and not solAssert in libyul

This commit is contained in:
Alex Beregszaszi
2020-07-03 15:46:50 +01:00
parent 3d96e2b11a
commit 4c7c7c0270
3 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ void AssemblyStack::translate(AssemblyStack::Language _targetLanguage)
if (m_language == _targetLanguage)
return;
solAssert(
yulAssert(
m_language == Language::StrictAssembly && _targetLanguage == Language::Ewasm,
"Invalid language combination"
);
@@ -160,7 +160,7 @@ void AssemblyStack::compileEVM(AbstractAssembly& _assembly, bool _evm15, bool _o
dialect = &EVMDialectTyped::instance(m_evmVersion);
break;
default:
solAssert(false, "Invalid language.");
yulAssert(false, "Invalid language.");
break;
}