feat: introduced blocks and better project structure
This commit is contained in:
@@ -68,7 +68,7 @@ private:
|
||||
auto param_slot = m_allocator->Allocate(fn->params().data[0]);
|
||||
appendf("mov %s, rdi\n", GetSlotAddr(param_slot).c_str());
|
||||
}
|
||||
for(auto &fOp : fn->ops())
|
||||
for(auto &fOp : fn->body().ops())
|
||||
{
|
||||
GenerateOp(fOp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user