mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
AArch64: Remove duplicitous element_count call.
This inhibits an analyzer warning by Clang.
This commit is contained in:
@@ -556,7 +556,6 @@ copy_hfa_to_reg_or_stack (void *memory,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned short type = get_homogeneous_type (ty);
|
unsigned short type = get_homogeneous_type (ty);
|
||||||
unsigned elems = element_count (ty);
|
|
||||||
for (i = 0; i < elems; i++)
|
for (i = 0; i < elems; i++)
|
||||||
{
|
{
|
||||||
void *reg = allocate_to_v (context, state);
|
void *reg = allocate_to_v (context, state);
|
||||||
|
|||||||
Reference in New Issue
Block a user