<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 Apr 1, 2013, at 18:28 , Anna Zaks <<a href="mailto:ganna@apple.com">ganna@apple.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; ">+        // Note: the last argumet is false here because these are</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; ">+        // non-top-level regions.</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>Typo: "agument".</div><div><br></div><div><br></div><div>This is fine for now, but I hope we can kill the three sets of regions...they're already a bit hard to follow.</div><div><br></div><div>- top-level non-const regions (passed to checkRegionChanges and checkPointerEscape)</div><div>- all non-const regions (passed to checkRegionChanges and checkPointerEscape)</div><div>- top-level const regions (passed to checkPointerEscape's const variant)</div><div><br></div><div>- all const regions (we currently don't model this but we might some day)</div><div><br></div><div>I <i>guess</i> we save a little bit of effort by caching the top-level regions in a list instead of extracting them from the CallEvent again, but I'm not sure it's worth the additional complexity in either notifyCheckersOfPointerEscape or checkRegionChanges.</div><div><br></div><div>Jordan</div></body></html>