Descriptiondart2js: Use correct call structures throughout the backend.
When translating to CPS, call arguments are normalized. For known
targets, this means default values are passed for missing optional
arguments and named arguments are in a canonical order. For unknown
targets, this means that passed named arguments are in a canonical
order.
However, the CallStructure recorded is one that describes the original
call. This may have an incorrect number of passed argument or an
incorrect order for named arguments. With this change, a new call
structure is created describing the call as it appears in the CPS IR.
R=johnniwinther@google.com
Committed: https://github.com/dart-lang/sdk/commit/f4b80ff12e57a329ef8419b8de1ee4620508793a
Patch Set 1 #
Total comments: 15
Patch Set 2 : Incorporate review comments. #Patch Set 3 : Rebase. #
Messages
Total messages: 6 (2 generated)
|