<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span dir="ltr"><br class="">
what if another pointer points to the same instruction?<br></span></div></blockquote><div><br></div><div>You can have many pointers to the same instruction. However, the address in memory where that instruction lives is unique. Instruction pointers (or Value pointers) are thus commonly used as keys in hash tables or similar. Instructions or Values are almost never copied, so that you won't find the same instruction at different addresses in memory.</div>
<div><br></div><div>Jonas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 2:57 PM, Eirini Psallida <span dir="ltr"><<a href="mailto:eirini_dit@windowslive.com" target="_blank">eirini_dit@windowslive.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"> <span dir="ltr">what if another pointer points to the same instruction?<br></span> <span dir="ltr">Is this possible to happen</span>?<span class="HOEnZb"><font color="#888888"><br><br>Eirini<span dir="ltr"></span><br>
</font></span></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>