<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-29 23:09 GMT+02:00 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br></div><div>in initializePrimitiveTableForSqueak,<br></div>I wonder why (111 genPrimitiveClass) has no specification of number of args when (110 genPrimitiveIdentical 1) has...<br><br></div>They are both used by miror primitives ain&#39;t they?<br></div><div>Should it be (110 genPrimitiveIdentica) instead? </div><div><br></div>Same for (62 genPrimitiveSize 0) and (169 genPrimitiveNotIdentical 1).<br></div></blockquote><div><br></div><div>Ah, maybe because genPrimitiveIdentical always use the ReceiverResultReg which would not be correct for mirror primitive.<br></div><div>It is then better for the mirror to fallback to executing primitive: 110.<br><br></div><div>Generally, mirror primitives are used exceptionally (debugging), so it&#39;s maybe not worth complexifying often used code for not so often used case. Or we would need different primitive numbers for both...<br> </div></div><br></div></div>