compiler: support basic inlining

This commit is contained in:
Evgeniy Stratonikov 2021-02-04 15:41:00 +03:00
parent 1f238ce6fd
commit 1ae0d022dd
9 changed files with 258 additions and 4 deletions

View file

@ -22,6 +22,8 @@ type funcScope struct {
// Package where the function is defined.
pkg *types.Package
file *ast.File
// Program label of the scope
label uint16