HomePhabricator

Fix local propagation of generator parameters

Description

Fix local propagation of generator parameters

Alias manager does not know that generator parameters are populated and
assumes they are uninit. The current code works because control flow
algorithm gives up while trying to deal with the continuation switch
statement full of gotos.

This diff fixes it by setting isGeneratorParameter flag in symbols
representing parameters of enclosing generator wrapper and use variables
of enclosing closure.

Details

Provenance
janAuthored on
Sara GolemonCommitted on Mar 22 2013, 2:33 AM
Parents
rOSHD7a58a78ef1bd: Don't handle signals in non-HPHP threads
Branches
Unknown
Tags
Unknown
ChangeId
None