[LLVMdev] creating InvokeInst without branch locations

edA-qa mort-ora-y eda-qa at disemia.com
Sun Oct 20 20:52:07 PDT 2013


Is it okay to pass null values to the destinations of
InvokeInst::Create? I checked the code and it looks like it'd be okay,
but the Create method doesn't make them optional, so I'm uncertain.
Perhaps a specific Create function without destinations can be added to
make it clear that it's okay (of course assuming you eventually call
setNormal/UnwindDest).

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131021/80c6ef99/attachment.sig>


More information about the llvm-dev mailing list