<div dir="auto">Looks like a block becomes too large after you insert the message sends to record coverage, and it fails to get inlined because the jump exceeds the limit of 1024. But I guess you already knew that. Maybe instead of signaling an exception, the compiler should compile it without inlining in the case it exceeds the jump limit, I wonder why it doesn’t do that.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 4 Dec 2022 at 04:41 Nicolás Papagna Maldonado via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hi folks,<br><br>Recently, Hernan let me know about a method that was not covered correctly by my code coverage tool: <a href="https://github.com/npapagna/cuis-code-coverage" target="_blank">https://github.com/npapagna/cuis-code-coverage</a><br><br>After closer inspection, I found out that the tool fails to compile the method with the additional tracing messages that collect the coverage information for each node.<br>I don't know much about the internals of the compiler, but my hunch is that the method might be "too big" to be compiled/fitted in what compile methods allow.<br><br>The error raised is "Error: genBranchPopFalse: distance index 1154 is out of range 0 to 1023" (screenshot attached).<br><br>Does anyone know what could be going on here?<br>Any pointers will be greatly appreciated.<br><br>Best,<br>Nico PM</div><div dir="ltr"><br></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>