Flutter Engine
The Flutter Engine
|
#include <object_pool_builder.h>
Public Types | |
enum | Patchability { kPatchable = 0 , kNotPatchable } |
enum | SnapshotBehavior { kSnapshotable , kNotSnapshotable , kResetToBootstrapNative , kResetToSwitchableCallMissEntryPoint , kSetToZero } |
enum | EntryType { kImmediate = 0 , kTaggedObject , kNativeFunction , kImmediate128 } |
using | TypeBits = BitField< uint8_t, EntryType, 0, 4 > |
using | PatchableBit = BitField< uint8_t, Patchability, TypeBits::kNextBit, 1 > |
using | SnapshotBehaviorBits = BitField< uint8_t, SnapshotBehavior, PatchableBit::kNextBit, 3 > |
Public Member Functions | |
ObjectPoolBuilderEntry () | |
ObjectPoolBuilderEntry (const Object *obj, Patchability patchable, SnapshotBehavior snapshot_behavior=kSnapshotable) | |
ObjectPoolBuilderEntry (const Object *obj, const Object *eqv, Patchability patchable, SnapshotBehavior snapshot_behavior=kSnapshotable) | |
ObjectPoolBuilderEntry (uword value, EntryType info, Patchability patchable, SnapshotBehavior snapshot_behavior=SnapshotBehavior::kSnapshotable) | |
ObjectPoolBuilderEntry (simd128_value_t value, EntryType info, Patchability patchable) | |
EntryType | type () const |
Patchability | patchable () const |
SnapshotBehavior | snapshot_behavior () const |
Static Public Member Functions | |
static uint8_t | EncodeTraits (EntryType type, Patchability patchable, SnapshotBehavior snapshot_behavior=SnapshotBehavior::kSnapshotable) |
Public Attributes | |
union { | |
const Object * obj_ | |
uword imm_ | |
uint64_t imm64_ | |
simd128_value_t imm128_ | |
}; | |
uint8_t | entry_bits_ |
const Object * | equivalence_ |
Definition at line 23 of file object_pool_builder.h.
using dart::compiler::ObjectPoolBuilderEntry::PatchableBit = BitField<uint8_t, Patchability, TypeBits::kNextBit, 1> |
Definition at line 66 of file object_pool_builder.h.
using dart::compiler::ObjectPoolBuilderEntry::SnapshotBehaviorBits = BitField<uint8_t, SnapshotBehavior, PatchableBit::kNextBit, 3> |
Definition at line 67 of file object_pool_builder.h.
using dart::compiler::ObjectPoolBuilderEntry::TypeBits = BitField<uint8_t, EntryType, 0, 4> |
Definition at line 65 of file object_pool_builder.h.
Enumerator | |
---|---|
kImmediate | |
kTaggedObject | |
kNativeFunction | |
kImmediate128 |
Definition at line 52 of file object_pool_builder.h.
Enumerator | |
---|---|
kPatchable | |
kNotPatchable |
Definition at line 24 of file object_pool_builder.h.
Enumerator | |
---|---|
kSnapshotable | |
kNotSnapshotable | |
kResetToBootstrapNative | |
kResetToSwitchableCallMissEntryPoint | |
kSetToZero |
Definition at line 29 of file object_pool_builder.h.
|
inline |
Definition at line 79 of file object_pool_builder.h.
|
inline |
Definition at line 80 of file object_pool_builder.h.
|
inline |
Definition at line 84 of file object_pool_builder.h.
|
inline |
Definition at line 91 of file object_pool_builder.h.
|
inline |
Definition at line 105 of file object_pool_builder.h.
|
inlinestatic |
Definition at line 70 of file object_pool_builder.h.
|
inline |
Definition at line 114 of file object_pool_builder.h.
|
inline |
Definition at line 116 of file object_pool_builder.h.
|
inline |
Definition at line 112 of file object_pool_builder.h.
union { ... } dart::compiler::ObjectPoolBuilderEntry::@101 |
uint8_t dart::compiler::ObjectPoolBuilderEntry::entry_bits_ |
Definition at line 126 of file object_pool_builder.h.
const Object* dart::compiler::ObjectPoolBuilderEntry::equivalence_ |
Definition at line 127 of file object_pool_builder.h.
simd128_value_t dart::compiler::ObjectPoolBuilderEntry::imm128_ |
Definition at line 124 of file object_pool_builder.h.
uint64_t dart::compiler::ObjectPoolBuilderEntry::imm64_ |
Definition at line 123 of file object_pool_builder.h.
uword dart::compiler::ObjectPoolBuilderEntry::imm_ |
Definition at line 122 of file object_pool_builder.h.
const Object* dart::compiler::ObjectPoolBuilderEntry::obj_ |
Definition at line 121 of file object_pool_builder.h.