#include <native_location.h>
|
| PointerToMemoryLocation (const NativeLocation &pointer_location, const NativeCompoundType &object_pointed_to) |
|
| PointerToMemoryLocation (const NativeLocation &pointer_location, const NativeLocation &pointer_return_location, const NativeCompoundType &object_pointed_to) |
|
virtual | ~PointerToMemoryLocation () |
|
virtual bool | IsPointerToMemory () const |
|
virtual void | PrintTo (BaseTextBuffer *f) const |
|
virtual bool | Equals (const NativeLocation &other) const |
|
virtual NativeLocation & | WithOtherNativeType (Zone *zone, const NativeType &new_payload_type, const NativeType &new_container_type) const |
|
virtual intptr_t | StackTopInBytes () const |
|
const NativeLocation & | pointer_location () const |
|
const NativeLocation & | pointer_return_location () const |
|
const NativeType & | payload_type () const |
|
const NativeType & | container_type () const |
|
virtual NativeLocation & | WithOtherNativeType (Zone *zone, const NativeType &new_payload_type, const NativeType &new_container_type) const =0 |
|
NativeLocation & | WidenTo4Bytes (Zone *zone) const |
|
NativeLocation & | WidenTo8Bytes (Zone *zone) const |
|
virtual bool | IsRegisters () const |
|
virtual bool | IsFpuRegisters () const |
|
virtual bool | IsStack () const |
|
virtual bool | IsMultiple () const |
|
virtual bool | IsPointerToMemory () const |
|
virtual bool | IsBoth () const |
|
virtual bool | IsExpressibleAsLocation () const |
|
virtual Location | AsLocation () const |
|
virtual void | PrintTo (BaseTextBuffer *f) const |
|
const char * | ToCString (Zone *zone) const |
|
const char * | ToCString () const |
|
const NativeRegistersLocation & | AsRegisters () const |
|
const NativeFpuRegistersLocation & | AsFpuRegisters () const |
|
const NativeStackLocation & | AsStack () const |
|
const MultipleNativeLocations & | AsMultiple () const |
|
const PointerToMemoryLocation & | AsPointerToMemory () const |
|
const BothNativeLocations & | AsBoth () const |
|
virtual NativeLocation & | Split (Zone *zone, intptr_t num_parts, intptr_t index) const |
|
virtual intptr_t | StackTopInBytes () const |
|
virtual bool | Equals (const NativeLocation &other) const |
|
virtual | ~NativeLocation () |
|
| ZoneAllocated () |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t size, Zone *zone) |
|
void | operator delete (void *pointer) |
|
Definition at line 378 of file native_location.h.
◆ PointerToMemoryLocation() [1/2]
Definition at line 380 of file native_location.h.
386 }
virtual bool IsStack() const
NativeLocation(const NativeType &payload_type, const NativeType &container_type)
virtual bool IsRegisters() const
const NativeLocation & pointer_location() const
◆ PointerToMemoryLocation() [2/2]
Definition at line 387 of file native_location.h.
394 }
const NativeLocation & pointer_return_location() const
◆ ~PointerToMemoryLocation()
virtual dart::compiler::ffi::PointerToMemoryLocation::~PointerToMemoryLocation |
( |
| ) |
|
|
inlinevirtual |
◆ Equals()
bool dart::compiler::ffi::PointerToMemoryLocation::Equals |
( |
const NativeLocation & |
other | ) |
const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeLocation.
Definition at line 259 of file native_location.cc.
259 {
260 if (!other.IsPointerToMemory()) {
261 return false;
262 }
263 const auto& other_pointer = other.AsPointerToMemory();
264 if (!other_pointer.pointer_location_.Equals(pointer_location_)) {
265 return false;
266 }
267 return other_pointer.payload_type().Equals(
payload_type());
268}
const NativeType & payload_type() const
◆ IsPointerToMemory()
virtual bool dart::compiler::ffi::PointerToMemoryLocation::IsPointerToMemory |
( |
| ) |
const |
|
inlinevirtual |
◆ pointer_location()
const NativeLocation & dart::compiler::ffi::PointerToMemoryLocation::pointer_location |
( |
| ) |
const |
|
inline |
◆ pointer_return_location()
const NativeLocation & dart::compiler::ffi::PointerToMemoryLocation::pointer_return_location |
( |
| ) |
const |
|
inline |
◆ PrintTo()
void dart::compiler::ffi::PointerToMemoryLocation::PrintTo |
( |
BaseTextBuffer * |
f | ) |
const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeLocation.
Definition at line 344 of file native_location.cc.
344 {
350 }
353}
virtual void PrintTo(BaseTextBuffer *f) const
virtual bool Equals(const NativeLocation &other) const
static void PrintRepresentations(BaseTextBuffer *f, const NativeLocation &loc)
◆ StackTopInBytes()
virtual intptr_t dart::compiler::ffi::PointerToMemoryLocation::StackTopInBytes |
( |
| ) |
const |
|
inlinevirtual |
◆ WithOtherNativeType()
The documentation for this class was generated from the following files: