Open trueadm opened 6 years ago
You can also look at some of the stacks I posted in #2297 for more ideas of what’s commonly executed against test262 (although that is less representative of user code). Like this one.
Two big ones:
__abstract().prop;
Object.defineProperty(o, __abstract(), {});
I did some analysis of our internal bundle in relation to
CallExpression
bail-out in pure scope to see the most common internal NativeFunctionValue bail-outs. This should point us in the direction of where we might add more internal abstract evaluation support.It's also interesting that none of the above functions mutate or have side-effects in almost all cases, yet we still havoc/leak the values passed to them, which very non-optimal.