HomePhabricator

Fix ref generator parameters

Description

Fix ref generator parameters

Alias manager does not know whether generator parameters are passed by
reference. This didn't matter, because every generator had at least one
function call (hphp_continuation_done()) that pretty much disabled unused
variable elimination.

This diff fixes that, lets us get rid of artificial function calls in
generators and will allow later improvements in alias manager.

Details

Provenance
janAuthored on
Sara GolemonCommitted on Mar 22 2013, 6:48 PM
Parents
rOSHD8ad18a7be98b: Filter strict_warnings like notices
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline