<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Maybe I don’t understand the depth of your question, but a cursory Google search turns up this:&nbsp;<a href="http://stackoverflow.com/questions/27881051/is-there-a-way-in-swift-to-declare-an-inline-function" class="">http://stackoverflow.com/questions/27881051/is-there-a-way-in-swift-to-declare-an-inline-function</a><div class=""><br class=""></div><div class="">- mish</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 10, 2015, at 8:23 AM, Karl Pickett via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Two use cases:<div class=""><br class=""></div><div class="">1. poking around in the asm for learning.&nbsp; Currently one can work around by putting funcs in different files and not using -whole-module, but it is time consuming and ugly.</div><div class="">2. Profiling an existing program. &nbsp; When a class method calls another method in the same class, I don't have a workaround to not inline it. &nbsp;</div><div class=""><br class=""></div><div class="">Also, is there a -fno-optimize-sibling-calls equivalent for swiftc?&nbsp; I don't have a pressing use but was just wondering, because it was shown in the WWDC videos as being helpful for profiling.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">- Karl</div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=xTF6JWnt2pl7kNka7081D3VajDoXFZTI5JEuSuQLncpkOzUXleQE-2BVhxd-2BgcUp-2Fwpp05-2BRgkmeQoZFI2HYJ0vwqJy4rDOHgrxoVZx-2BjIhXvqw7ORs723nVzp8mgd6UiPZEAj5tDyg0mnPJtkouQaE97N1fjPcXM-2F5PI3BSn8VDVGOID1PA-2BBhRydGcKWZD1j4WuVyW5REG55lmkONIOUCLWSokKRhTvaes-2FS5-2BDDWjQ-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>