checkArrayLiteralEscape

Array literal is going to be allocated on the GC heap. Check its elements to see if any would escape by going on the heap.

bool
checkArrayLiteralEscape

Parameters

sc Scope*

used to determine current function and module

ae ArrayLiteralExp

array literal expression

gag bool

do not print error messages

Return Value

Type: bool

true if any elements escaped

Meta