<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Oct 2015, at 22:59, John McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" class="">johnmci@smalltalkconsulting.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Ok, you know you are using maybeInlinePositive32BitIntegerFor for BOTH unsigned and signed integers? That to me rings alarm bells, so do you need&nbsp;maybeInlinePositive32BitIntegerForSignedInteger or&nbsp;maybeInlinePositive32BitIntegerForUnSignedInteger &nbsp;or always cast the incoming value to an unsigned integer, or is it signed? If so are you sure you understand the math involved and the possible input values?&nbsp;</div></div></blockquote><div><br class=""></div><div>I’m not using maybeInlinePositive32BitIntegerFor for anything. Is Eliot who is doing it :)</div><div>But yes, I thought that first, then I followed the logic and figured out the intent was kept just changing the input type… but I might be wrong… Eliot should know better :)</div><div><br class=""></div><div>Esteban</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Oct 19, 2015 at 9:31 AM, Esteban Lorenzano <span dir="ltr" class="">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank" class="">estebanlm@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br class=""><div style="word-wrap:break-word" class=""><div class="">Hi,&nbsp;</div><div class=""><br class=""></div><div class="">Does anyone tested Alien on Spur and "El capitan"? specifically callbacks?</div><div class="">For me, a completely broken :(</div><div class=""><br class=""></div><div class="">1) this structure (in maybeInlinePositive32BitIntegerFor: and others):&nbsp;</div><div class=""><br class=""></div><div class=""><div class=""><span style="white-space:pre-wrap" class="">        </span>(integerValue &gt;= 0</div><div class=""><span style="white-space:pre-wrap" class="">        </span> and: [objectMemory isIntegerValue: integerValue]) ifTrue:</div><div class=""><span style="white-space:pre-wrap" class="">                </span>[^objectMemory integerObjectOf: integerValue].</div></div><div class=""><br class=""></div><div class="">Does not works if “integer value” is an unsigned long, because compiler assumes it will always be true, then remove the if, then answers a wrong value.&nbsp;</div><div class=""><br class=""></div><div class="">2)&nbsp;<span style="color:rgb(120,73,42);font-family:Menlo;font-size:11px" class="">assertCStackWellAligned&nbsp;</span>always fail. No idea why because if does not says anything, just jmp back to the regular flow.&nbsp;</div><div class=""><br class=""></div><div class="">3) finally,&nbsp;<span style="color:rgb(79,129,135);font-family:Menlo;font-size:11px" class="">ceCaptureCStackPointers&nbsp;</span>also fails… this can be because (2) or because other reasons (it also jmps back so no clue) (method generateCaptureCStackPointers: clarifies is a hack, so I suppose it stopped to work).&nbsp;</div><div class=""><br class=""></div><div class="">I guess solution of (1) is easy: argument number just has to be a sqLong instead an unsigned long.&nbsp;</div><div class=""><br class=""></div><div class="">But for 2 and 3 I have no idea where to start.</div><div class=""><br class=""></div><div class="">Does anyone has an idea?</div><div class=""><br class=""></div><div class="">Esteban</div><div class=""><br class=""></div></div><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">===========================================================================<br class="">John M. McIntosh. Corporate Smalltalk Consulting Ltd&nbsp;<a href="https://www.linkedin.com/in/smalltalk" target="_blank" class="">https://www.linkedin.com/in/smalltalk</a><br class="">===========================================================================<br class=""></div></div></div></div>
</div>
</div></blockquote></div><br class=""></body></html>