-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
For SpiderMonkey, we're working towards collecting the following lattice of call target information for indirect calls:
unknown
|
monomorphic(funcIndex)
|
polymorphic(funcIndex, funcIndex, ...)
|
megamorphic
unknown means that we have no information at all. megamorphic means that we've observed so many call targets that we don't believe it's worth tracking them.
Is this possible to encode into call target hints? If a call target hint is missing for a call instruction, is that interpreted as 'unknown' or 'megamorphic'? If I'm reading it right, a call target hint with an empty call target information vector inside of it seems like it could be interpreted as 'megamorphic'.
Metadata
Metadata
Assignees
Labels
No labels