This is an archive of the discontinued LLVM Phabricator instance.

[opaque pointer types] Make EmitCall pass Function Types to CreateCall/Invoke.
ClosedPublic

Authored by jyknight on Feb 5 2019, 7:35 PM.

Details

Summary

Also, remove the getFunctionType() function from CGCallee, since it
accesses the pointee type of the value. The only use was in EmitCall,
so just inline it into the debug assertion.

This is the last of the changes for Call and Invoke in clang.

Diff Detail

Repository
rC Clang

Event Timeline

jyknight created this revision.Feb 5 2019, 7:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 7:35 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dblaikie accepted this revision.Feb 6 2019, 10:30 AM

Cool, thanks!

This revision is now accepted and ready to land.Feb 6 2019, 10:30 AM
This revision was automatically updated to reflect the committed changes.