Definition at line 27 of file slot.cc.
◆ Canonicalize()
const Slot & dart::SlotCache::Canonicalize |
( |
const Slot & |
value | ) |
|
|
inline |
Definition at line 39 of file slot.cc.
39 {
40 auto result = fields_.LookupValue(&value);
44 }
46 }
◆ GetNativeSlot()
Definition at line 48 of file slot.cc.
48 {
49 const intptr_t index = static_cast<intptr_t>(kind);
51 const Slot* slot = native_fields_[index];
52 if (slot == nullptr) {
53 native_fields_[index] = slot = CreateNativeSlot(kind);
54 }
55 return *slot;
56 }
◆ Instance()
Definition at line 30 of file slot.cc.
30 {
31 auto result = thread->compiler_state().slot_cache();
33 result =
new (thread->zone()) SlotCache(thread);
34 thread->compiler_state().set_slot_cache(
result);
35 }
37 }
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/compiler/backend/slot.cc