Initialize long return type descs in `gtNewCallNode`.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 21 Oct 2016 21:03:58 +0000 (14:03 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Fri, 21 Oct 2016 21:03:58 +0000 (14:03 -0700)
commitb2b0b914a68a9a74c8b8685851afb2f874246428
tree947ed16ba3ede0385bbec9c417d917e24befdd3a
parent9463e5d384c09fcc0c17a71c616b2bcb3d633c8a
Initialize long return type descs in `gtNewCallNode`.

All long-returning calls (including helper calls) must have a properly
initialized ReturnTypeDesc. Previously, this ReturnTypeDesc was only
initialized by the importer for a subset of long-returning calls
(essentially user calls), which caused asserts whenother long-returning
calls were created by the compiler (e.g. for field accessors). This
change moves the necessary ReturnTypeDesc initialization into
`gtNewCallNode`.
src/jit/compiler.h
src/jit/gentree.cpp
src/jit/importer.cpp