[PATCH] D62643: [CodeGen][ObjC] Convert '[self alloc]' in a class method to 'objc_alloc(self)'

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 16:32:20 PDT 2019


ahatanak updated this revision to Diff 202821.
ahatanak marked an inline comment as done.
ahatanak added a comment.

Just set `isClassMessage` instead of passing a separate flag to `tryGenerateSpecializedMessageSend`.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62643/new/

https://reviews.llvm.org/D62643

Files:
  lib/CodeGen/CGObjC.cpp
  test/CodeGenObjC/convert-messages-to-runtime-calls.m
  test/CodeGenObjC/objc-alloc-init.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62643.202821.patch
Type: text/x-patch
Size: 5348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190603/76d02d13/attachment.bin>


More information about the cfe-commits mailing list