Expand description
Feedback vectors for inline cache (IC) type profiling.
Each function gets an optional FeedbackVector that records observed types
at IC-eligible sites (calls, property accesses, arithmetic, method dispatch).
The JIT compiler reads this feedback to generate speculative optimizations.
Structs§
- Arithmetic
Feedback - Arithmetic feedback: which operand type pairs observed.
- Arithmetic
Type Pair - Call
Feedback - Call site feedback: which function targets have been called.
- Call
Target - Feedback
Vector - Per-function feedback vector: maps bytecode offsets to IC slots.
- Method
Cache Entry - Method
Feedback - Method dispatch feedback: which receiver kinds and method handlers observed.
- Property
Cache Entry - Property
Feedback - Property access feedback: which schemas and field indices observed.
Enums§
- Feedback
Slot - A feedback slot records type observations at a single IC site.
- ICState
- IC state machine: tracks how polymorphic a site has become.
Constants§
- RECEIVER_
HASHMAP - RECEIVER_
TYPED_ OBJECT - Receiver kind discriminator for property feedback. Tells the JIT whether to emit a TypedObject schema guard or a HashMap shape guard.