<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 21, 2013, at 14:23 , David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: monospace; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">+  /// \brief Convert to the specified TypeLoc type, asserting that this TypeLoc</span><br style="font-family: monospace; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span style="font-family: monospace; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">+  /// is of the desired type.</span><br style="font-family: monospace; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "></blockquote></div><br><div>s/TypeLoc/ProgramPoint/? (Was this in the last one as well?)</div><div><br></div><div><br></div><div><blockquote type="cite"><span style="font-family: monospace; ">-  const CallExitEnd *CExit = d</span><span style="font-family: monospace; ">yn_cast<CallExitEnd>(&P);</span></blockquote><blockquote type="cite"><span style="font-family: monospace; ">+  Optional<CallExitEnd> CExit = P.getAs<CallExitEnd>();</span><br style="font-family: monospace; "><span style="font-family: monospace; ">  assert(CExit && "Stack Hints should be constructed at CallExitEnd points.");</span><br style="font-family: monospace; "></blockquote><br></div><div>Despite the assert message, this should probably just use castAs to get better Release build code.</div><div><br></div><div>Thanks one more time...</div><div>Jordan</div></body></html>