Commit f466aad0d91a117e42571d1d6fb434fa0433c930

Zachary Waldowski 2014-01-21T16:38:31

AArch64: Fix missing semicolons when assertions are enabled

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)++);
 }