<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 25, 2008, at 5:46 PM, Zhongxing Xu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; ">Hi Zhongxing,<br><br>Can you tell me what your motivation was for implementing 'classof' for AnonTypedRegion in this way?  This will return true if the MemRegion is a VarRegion or a FieldRegion, but not if it is an instance of AnonTypedRegion (!).  AnonTypedRegion is just meant to be some lightweight layering on top of an existing region where we want to add some typing information to a set of bytes.<br><font color="#888888"></font></blockquote><div><br>Hi Ted,<br><br>This is not the classof implementation of AnonTypedRegion, but of DeclRegion. It looks confusing in the patch. Please look at the updated MemRegion.h.<br></div></span><br class="Apple-interchange-newline"></blockquote></div><br><div>You're right.  Thanks Zhongxing!</div></body></html>