swift
0cbefab1 - SILGen: Rename ArgumentSource::requiresCalleeToEvaluate() to ArgumentSource::isShuffle()

Commit
7 years ago
SILGen: Rename ArgumentSource::requiresCalleeToEvaluate() to ArgumentSource::isShuffle() Also, move the check to make it explicit that only a TupleShuffleExpr at the top level goes through the argument emission code path; a TupleShuffleExpr appearing inside a ParenExpr or TupleExpr is a tuple conversion, which is totally unrelated and emitted as an RValue. This is unfortunate and we should split off ArgumentShuffleExpr from TupleShuffleExpr, and eventually, fold ArgumentShuffleExpr into ApplyExpr.
Author
Committer
Davide Italiano
Parents
Loading