[PATCH] D34665: [CodeGen] Fix assertion failure in EmitCallArg

2017-06-27 Thread Akira Hatanaka via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL306494: [CodeGen] Fix assertion failure in EmitCallArg. (authored by ahatanak). Changed prior to commit: https://reviews.llvm.org/D34665?vs=104086&id=104327#toc Repository: rL LLVM https://reviews.l

[PATCH] D34665: [CodeGen] Fix assertion failure in EmitCallArg

2017-06-27 Thread John McCall via Phabricator via cfe-commits
rjmccall accepted this revision. rjmccall added a comment. This revision is now accepted and ready to land. This seems fine, thanks. https://reviews.llvm.org/D34665 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bi

[PATCH] D34665: [CodeGen] Fix assertion failure in EmitCallArg

2017-06-26 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak created this revision. The assertion is checking that the types of the parameter and argument match. It fails when a method of a parameterized class is called. To fix the failure, this patch moves the assertion in EmitCallArg to its only caller EmitCallArgs. Instead of moving the asser