[Sol->Yul] Enabling storage pointers to local vars in inline assembly.

This commit is contained in:
Djordje Mijovic
2020-08-26 10:25:42 +02:00
parent bff0f9bda7
commit d99b81ef02
6 changed files with 63 additions and 17 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ string IRGenerator::generateGetter(VariableDeclaration const& _varDecl)
string code;
auto const& location = m_context.storageLocationOfVariable(_varDecl);
auto const& location = m_context.storageLocationOfStateVariable(_varDecl);
code += Whiskers(R"(
let slot := <slot>
let offset := <offset>