compiler: remove finallyProcessIndex
from funcScope
This commit is contained in:
parent
2eb91066ea
commit
2aaaf30db7
3 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue