Migrate IRGenerator::setRefKind to Analysis::MakeAssignmentExpr.
Fundamentally this function wasn't a generic "set the refKind on an
expression" at all; it was intended specifically as "this expression
must be IsAssignable and contain a VariableReference." Also, it needs
nothing at all from the IRGenerator. Moving it out is important because
it will be used by Make functions for things like VariableReference.
Commit-Queue: John Stiles <email@example.com>
Commit-Queue: Brian Osman <firstname.lastname@example.org>
Auto-Submit: John Stiles <email@example.com>
Reviewed-by: Brian Osman <firstname.lastname@example.org>
3 files changed