198 {
200
201 const intptr_t kAtLeast1ByteAligned = 1;
202
203
204 intptr_t alignment_field = kAtLeast1ByteAligned;
205
206
207 intptr_t alignment_stack = kAtLeast1ByteAligned;
208 intptr_t alignment_stack_vararg = kAtLeast1ByteAligned;
209#if (defined(DART_TARGET_OS_MACOS_IOS) || defined(DART_TARGET_OS_MACOS)) && \
210 defined(TARGET_ARCH_ARM64)
211
212
214
215
216
217
218
219
220
222 alignment_stack = compiler::target::kWordSize;
223 }
224 alignment_stack_vararg = compiler::target::kWordSize;
225#endif
226
228 *
new (zone) ZoneGrowableArray<intptr_t>(zone,
members.
length());
231 const intptr_t member_size = member.SizeInBytes();
232 const intptr_t member_align_field =
234 intptr_t member_align_stack = member.AlignmentInBytesStack();
235 if (member_align_stack > member_packing &&
236 member_packing < compiler::target::kWordSize) {
237 member_align_stack = compiler::target::kWordSize;
238 }
242 alignment_field =
Utils::Maximum(alignment_field, member_align_field);
243 alignment_stack =
Utils::Maximum(alignment_stack, member_align_stack);
244 alignment_stack_vararg =
246 }
248
249 return *new (zone)
251 alignment_stack, alignment_stack_vararg);
252}
static constexpr AlignmentStrategy kArgumentStackAlignment
static constexpr T Maximum(T x, T y)
static T Minimum(T x, T y)
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
const NativeTypes & members() const
const ZoneGrowableArray< intptr_t > & member_offsets() const
static bool ContainsHomogeneousFloatsInternal(const NativeTypes &types)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size