]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
fix texinfo comments
authorAleksey Demakov <ademakov@gmail.com>
Mon, 12 Feb 2007 21:38:44 +0000 (21:38 +0000)
committerAleksey Demakov <ademakov@gmail.com>
Mon, 12 Feb 2007 21:38:44 +0000 (21:38 +0000)
ChangeLog
jit/jit-insn.c
jit/jit-rules-interp.c
jitplus/jit-plus-function.cpp
jitplus/jit-plus-value.cpp

index f5cd84ac6d3163d09810600f71db6ad12e7aa31f..88327079020f62945f367d61067047660ed78f07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
        automake --add-missing as well as auto_gen.sh add an up-to-date
        version of it.
 
+       * jit/jit-insn.c, jit/jit-rules-interp.c: 
+       * jitplus/jit-plus-value.cpp, jitplus/jit-plus-function.cpp: fix
+       texinfo comments.
+
 2007-02-12  Aleksey Demakov  <ademakov@gmail.com>
 
        * jit/jit-dump.c (jit_dump_function): flush the output stream upon
index 9dfd78bd51caf5a182146ff84d6894503448f1cc..a81a5eb6bafa485fb355cb5f7ea2a6cb50fc60e0 100644 (file)
@@ -4069,8 +4069,8 @@ add_block:
 }
 
 /*@
- * @deftypefun jit_insn_jump_table(jit_function_t func, jit_value_t value, jit_label_t *labels, unsigned int num_labels)
- *
+ * @deftypefun int jit_insn_jump_table (jit_function_t func, jit_value_t value, {jit_label_t *} labels, unsigned int num_labels)
+ * Branch to a label from the @code{labels} table. The @code{value} is the index of the label.
  * @end deftypefun
 @*/
 int jit_insn_jump_table
@@ -8013,7 +8013,6 @@ int jit_insn_move_blocks_to_start
 int jit_insn_mark_offset(jit_function_t func, jit_int offset)
 {
 #if 1
-/*!USE_NEW_REG_ALLOC*/
        if(!jit_insn_new_block(func))
        {
                return 0;
index 351c987fde7db13291920761eb2d67702c8324c7..705f7056e69a7ddef428884f63fe08f584f18fdc 100644 (file)
@@ -846,7 +846,7 @@ void _jit_gen_move_top(jit_gencode_t gen, int reg)
 }
 
 /*@
- * @deftypefun _jit_gen_spill_top (jit_gencode_t gen, int reg, jit_value_t value, int pop)
+ * @deftypefun void _jit_gen_spill_top (jit_gencode_t gen, int reg, jit_value_t value, int pop)
  * Generate instructions to spill the top stack register to the local
  * variable frame. The @code{pop} argument indicates if the top register
  * is popped from the stack.
index 4fcf3bf6897fd5821e3e53ee79391f96392638ea..716cd7392e3bb749cb8525cf28c38133f385df74 100644 (file)
@@ -52,7 +52,7 @@ public:
 jit_type_t const jit_function::end_params = (jit_type_t)0;
 
 /*@
- * @defop Constructor jit_function jit_function ({jit_context&} context, jit_type_t signature)
+ * @defop Constructor jit_function jit_function ({jit_context& context}, jit_type_t signature)
  * Constructs a new function handler with the specified @code{signature} in
  * the given @code{context}.  It then calls @code{create(signature)} to
  * create the actual function.
@@ -69,7 +69,7 @@ jit_function::jit_function(jit_context& context, jit_type_t signature)
 }
 
 /*@
- * @defop Constructor jit_function jit_function ({jit_context&} context)
+ * @defop Constructor jit_function jit_function ({jit_context& context})
  * Constructs a new function handler in the specified @code{context}.
  * The actual function is not created until you call @code{create()}.
  * @end defop
index 4032a8abc341d51def209eb661a4005b3e8684db..d9e7f44592f059fc0116e83b2f0ea058026e9727 100644 (file)
@@ -35,7 +35,7 @@ Construct an empty value.
 Construct a value by wrapping up a raw C @code{jit_value_t} object.
 @end defop
 
-@defop Constructor jit_value jit_value ({const jit_value&} value)
+@defop Constructor jit_value jit_value ({const jit_value& value})
 Create a copy of @code{value}.
 @end defop
 
@@ -44,7 +44,7 @@ Destroy the C++ value wrapper, but leave the underlying raw C
 value alone.
 @end defop
 
-@defop Operator jit_value {jit_value& operator=} ({const jit_value&} value)
+@defop Operator jit_value {jit_value& operator=} ({const jit_value& value})
 Copy @code{jit_value} objects.
 @end defop
 
@@ -92,24 +92,24 @@ Get the owning function, block, or context for this value.
 Extract the constant stored in this value.
 @end deftypemethod
 
-@defop Operator jit_value {jit_value operator+} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator-} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator*} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator/} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator%} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator-} ({const jit_value&} value1)
-@defopx Operator jit_value {jit_value operator&} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator|} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator^} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator~} ({const jit_value&} value1)
-@defopx Operator jit_value {jit_value operator<<} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator>>} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator==} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator!=} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator<} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator<=} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator>} ({const jit_value&} value1, {const jit_value&} value2)
-@defopx Operator jit_value {jit_value operator>=} ({const jit_value&} value1, {const jit_value&} value2)
+@defop Operator jit_value {jit_value operator+} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator-} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator*} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator/} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator%} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator-} ({const jit_value& value1})
+@defopx Operator jit_value {jit_value operator&} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator|} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator^} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator~} ({const jit_value& value1})
+@defopx Operator jit_value {jit_value operator<<} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator>>} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator==} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator!=} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator<} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator<=} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator>} ({const jit_value& value1}, {const jit_value& value2})
+@defopx Operator jit_value {jit_value operator>=} ({const jit_value& value1}, {const jit_value& value2})
 Generate an arithmetic, bitwise, or comparison instruction based on
 one or two @code{jit_value} objects.  These operators are shortcuts
 for calling @code{insn_add}, @code{insn_sub}, etc on the