compiler: remove finallyProcessIndex from funcScope

This commit is contained in:
Evgeniy Stratonikov 2021-04-28 11:20:41 +03:00
parent 2eb91066ea
commit 2aaaf30db7
3 changed files with 11 additions and 8 deletions

View file

@ -121,7 +121,7 @@ func (c *codegen) traverseGlobals() (int, int, int) {
// store auxiliary variables after all others.
if hasDefer {
c.exceptionIndex = len(c.globals)
c.globals["<exception>"] = c.exceptionIndex
c.globals[exceptionVarName] = c.exceptionIndex
}
}
return n, initLocals, deployLocals