libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit] [PATCH 2/4] Document return value of jit_insn_new_block and...


From: Niklas Koep
Subject: [Libjit] [PATCH 2/4] Document return value of jit_insn_new_block and...
Date: Sat, 22 Mar 2014 21:24:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

jit_insn_store_relative which return non-zero values on success.

Signed-off-by: Niklas Koep <address@hidden>
---
 jit/jit-insn.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/jit/jit-insn.c b/jit/jit-insn.c
index 991b3bd..707dd74 100644
--- a/jit/jit-insn.c
+++ b/jit/jit-insn.c
@@ -1138,7 +1138,8 @@ jit_insn_label(jit_function_t func, jit_label_t *label)
  /*@
  * @deftypefun int jit_insn_new_block (jit_function_t @var{func})
- * Start a new basic block, without giving it an explicit label.
+ * Start a new basic block, without giving it an explicit label. Returns a
+ * non-zero value on success.
  * @end deftypefun
 @*/
 int
@@ -1620,7 +1621,7 @@ jit_value_t jit_insn_load_relative
 /*@
* @deftypefun int jit_insn_store_relative (jit_function_t @var{func}, jit_value_t @var{dest}, jit_nint @var{offset}, jit_value_t @var{value}) * Store @var{value} at the effective address @code{(@var{dest} + @var{offset})},
- * where @var{dest} is a pointer.
+ * where @var{dest} is a pointer. Returns a non-zero value on success.
  * @end deftypefun
 @*/
 int jit_insn_store_relative
--
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]