Hi guys,
I would like to change the inlining heuristics in IonMonkey, so that a
function would be inlined the first time it is met in the program flow. To do
this, I have commented out the code:
if (script->getUseCount() < checkUses) {
IonSpew(IonSpew_Inlining, "Not inlining, caller is not hot");
return false;
}
However IonMonkey is answering me "Cannot inline due to oracle veto". I have
tried to follow the calls and this code seems to be related with the type
inference algorithm. It seems that the type inference engine has not been
executed at that point in time.
I would like to know what I could do to disable this veto. If it is not to
abuse your patience, I would like to know also when this type inference engine
runs and why it not runs before the first compilation.
Best regards
Igor Rafael
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals