<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 3:06 PM, Mehdi AMINI <span dir="ltr"><<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">joker.eph added inline comments.<br>
<br>
================<br>
</span>Comment at: lib/Transforms/Instrumentation/IndirectCallPromotion.cpp:535<br>
@@ +534,3 @@<br>
+<br>
+bool processModule(Module &M, bool InLTO) {<br>
+  if (DisableICP)<br>
----------------<br>
Nice, but should be static considering the name. Alternatively I don't mind having it non static if it is called something like `promoteIndirectCalls()`<br></blockquote><div>Yes. You are absolutely right. I forgot the "static" word. I'll add it back and also change the name as you suggested.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="http://reviews.llvm.org/D17864" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17864</a><br>
<br>
<br>
<br>
</blockquote></div><br></div></div>