attempt to fix JS codegen regression
This commit is contained in:
parent
e55f5d1fd4
commit
f7f9265399
1 changed files with 1 additions and 1 deletions
|
|
@ -941,7 +941,7 @@ proc genArrayAccess(p: PProc, n: PNode, r: var TCompRes) =
|
|||
proc isIndirect(v: PSym): bool =
|
||||
result = {sfAddrTaken, sfGlobal} * v.flags != {} and
|
||||
#(mapType(v.typ) != etyObject) and
|
||||
sfVolatile notin v.flags and
|
||||
{sfImportc, sfVolatile, sfExportc} * v.flags == {} and
|
||||
v.kind notin {skProc, skConverter, skMethod, skIterator, skClosureIterator}
|
||||
|
||||
proc genAddr(p: PProc, n: PNode, r: var TCompRes) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue