projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4330fdc
)
AArch64: Remove duplicitous element_count call.
author
Zachary Waldowski
<zach@waldowski.me>
Thu, 9 Jan 2014 18:50:17 +0000
(13:50 -0500)
committer
Zachary Waldowski
<zach@waldowski.me>
Wed, 5 Feb 2014 19:28:59 +0000
(14:28 -0500)
This inhibits an analyzer warning by Clang.
src/aarch64/ffi.c
patch
|
blob
|
history
diff --git
a/src/aarch64/ffi.c
b/src/aarch64/ffi.c
index 9db6dca5b797f2eecd432be5f9858eff8100ce86..9dbf277985d6d43ccba3a836ac27e161d68cf641 100644
(file)
--- a/
src/aarch64/ffi.c
+++ b/
src/aarch64/ffi.c
@@
-556,7
+556,6
@@
copy_hfa_to_reg_or_stack (void *memory,
{
int i;
unsigned short type = get_homogeneous_type (ty);
- unsigned elems = element_count (ty);
for (i = 0; i < elems; i++)
{
void *reg = allocate_to_v (context, state);