#include <native_calling_convention.h>
Definition at line 29 of file native_calling_convention.h.
◆ argument_locations()
const NativeLocations & dart::compiler::ffi::NativeCallingConvention::argument_locations |
( |
| ) |
const |
|
inline |
◆ contains_varargs()
bool dart::compiler::ffi::NativeCallingConvention::contains_varargs |
( |
| ) |
const |
|
inline |
◆ FromSignature()
Definition at line 980 of file native_calling_convention.cc.
982 {
985
986
991 signature.variadic_arguments_index());
994}
const NativeLocation & return_location() const
const NativeLocations & argument_locations() const
bool contains_varargs() const
static constexpr intptr_t kNoVariadicArguments
static const NativeLocation & ResultLocation(Zone *zone, const NativeType &payload_type, bool has_varargs)
static NativeLocations & ArgumentLocations(Zone *zone, const ZoneGrowableArray< const NativeType * > &arg_reps, const NativeLocation &return_location, intptr_t var_args_index)
◆ PrintTo()
void dart::compiler::ffi::NativeCallingConvention::PrintTo |
( |
BaseTextBuffer * |
f, |
|
|
bool |
multi_line = false |
|
) |
| const |
Definition at line 1011 of file native_calling_convention.cc.
1012 {
1013 if (!multi_line) {
1015 }
1016 for (intptr_t
i = 0;
i < argument_locations_.
length();
i++) {
1018 if (multi_line) {
1020 } else {
1022 }
1023 }
1024 argument_locations_[
i]->PrintTo(
f);
1025 }
1026 if (multi_line) {
1027 f->AddString(
"\n=>\n");
1028 } else {
1029 f->AddString(
") => ");
1030 }
1032 if (multi_line) {
1034 }
1035}
virtual void PrintTo(BaseTextBuffer *f) const
◆ PrintToMultiLine()
void dart::compiler::ffi::NativeCallingConvention::PrintToMultiLine |
( |
BaseTextBuffer * |
f | ) |
const |
◆ return_location()
const NativeLocation & dart::compiler::ffi::NativeCallingConvention::return_location |
( |
| ) |
const |
|
inline |
◆ StackTopInBytes()
intptr_t dart::compiler::ffi::NativeCallingConvention::StackTopInBytes |
( |
| ) |
const |
Definition at line 996 of file native_calling_convention.cc.
996 {
997 const intptr_t num_arguments = argument_locations_.
length();
998 intptr_t max_height_in_bytes = 0;
999 for (intptr_t
i = 0;
i < num_arguments;
i++) {
1002 }
1005 max_height_in_bytes =
1007 }
1009}
static constexpr T Maximum(T x, T y)
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
intptr_t StackTopInBytes() const
virtual bool IsPointerToMemory() const
const PointerToMemoryLocation & AsPointerToMemory() const
static constexpr intptr_t kWordSize
◆ ToCString() [1/2]
const char * dart::compiler::ffi::NativeCallingConvention::ToCString |
( |
bool |
multi_line = false | ) |
const |
Definition at line 1045 of file native_calling_convention.cc.
1045 {
1047}
static Thread * Current()
const char * ToCString(Zone *zone, bool multi_line=false) const
◆ ToCString() [2/2]
const char * dart::compiler::ffi::NativeCallingConvention::ToCString |
( |
Zone * |
zone, |
|
|
bool |
multi_line = false |
|
) |
| const |
Definition at line 1037 of file native_calling_convention.cc.
1038 {
1039 ZoneTextBuffer textBuffer(zone);
1040 PrintTo(&textBuffer, multi_line);
1041 return textBuffer.buffer();
1042}
void PrintTo(BaseTextBuffer *f, bool multi_line=false) const
The documentation for this class was generated from the following files: