AArch64: Fix missing semicolons when assertions are enabled
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
diff --git a/ChangeLog b/ChangeLog
index 6ac6456..970f31b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-21 Zachary Waldowski <zach@waldowski.me>
+
+ * src/aarch64/ffi.c: Fix missing semicolons on assertions under
+ debug mode.
2013-12-30 Zachary Waldowski <zach@waldowski.me>
@@ -19,7 +23,7 @@
* src/aarch64/sysv.S: Use CNAME for global symbols. Only use
.size for ELF targets.
* src/aarch64/ffi.c: Clean up for double == long double. Clean up
- for Xcode warnings. Use Clang cache invalidation builtin. Use
+ from Clang warnings. Use Clang cache invalidation builtin. Use
size_t in place of unsigned in many places. Accommodate for
differences in Apple AArch64 ABI.
diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c
index 9dbf277..a16f80f 100644
--- a/src/aarch64/ffi.c
+++ b/src/aarch64/ffi.c
@@ -438,28 +438,28 @@ available_v (struct arg_state *state)
static void *
allocate_to_x (struct call_context *context, struct arg_state *state)
{
- FFI_ASSERT (state->ngrn < N_X_ARG_REG)
+ FFI_ASSERT (state->ngrn < N_X_ARG_REG);
return get_x_addr (context, (state->ngrn)++);
}
static void *
allocate_to_s (struct call_context *context, struct arg_state *state)
{
- FFI_ASSERT (state->nsrn < N_V_ARG_REG)
+ FFI_ASSERT (state->nsrn < N_V_ARG_REG);
return get_s_addr (context, (state->nsrn)++);
}
static void *
allocate_to_d (struct call_context *context, struct arg_state *state)
{
- FFI_ASSERT (state->nsrn < N_V_ARG_REG)
+ FFI_ASSERT (state->nsrn < N_V_ARG_REG);
return get_d_addr (context, (state->nsrn)++);
}
static void *
allocate_to_v (struct call_context *context, struct arg_state *state)
{
- FFI_ASSERT (state->nsrn < N_V_ARG_REG)
+ FFI_ASSERT (state->nsrn < N_V_ARG_REG);
return get_v_addr (context, (state->nsrn)++);
}