fix texinfo comments - libjit.git - libjit

index : libjit.git
libjit
summary refs log tree commit diff
diff options
context:
space:
mode:
authorAleksey Demakov <ademakov@gmail.com>2007年02月12日 21:38:44 +0000
committerAleksey Demakov <ademakov@gmail.com>2007年02月12日 21:38:44 +0000
commitea9d00ae23ba6fb78a07b63b8b03c28bcb44649b (patch)
tree7faba516bdc7c2c8eedfabd99312c045fdac32c1
parentbf4a7a5c425db64aa31f7fe14849041549e13c4f (diff)
downloadlibjit-ea9d00ae23ba6fb78a07b63b8b03c28bcb44649b.tar.gz
fix texinfo comments
Diffstat
-rw-r--r--ChangeLog 4
-rw-r--r--jit/jit-insn.c 5
-rw-r--r--jit/jit-rules-interp.c 2
-rw-r--r--jitplus/jit-plus-function.cpp 4
-rw-r--r--jitplus/jit-plus-value.cpp 40
5 files changed, 29 insertions, 26 deletions
diff --git a/ChangeLog b/ChangeLog
index f5cd84a..8832707 100644
--- 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
diff --git a/jit/jit-insn.c b/jit/jit-insn.c
index 9dfd78b..a81a5eb 100644
--- a/jit/jit-insn.c
+++ b/jit/jit-insn.c
@@ -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;
diff --git a/jit/jit-rules-interp.c b/jit/jit-rules-interp.c
index 351c987..705f705 100644
--- a/jit/jit-rules-interp.c
+++ b/jit/jit-rules-interp.c
@@ -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.
diff --git a/jitplus/jit-plus-function.cpp b/jitplus/jit-plus-function.cpp
index 4fcf3bf..716cd73 100644
--- a/jitplus/jit-plus-function.cpp
+++ b/jitplus/jit-plus-function.cpp
@@ -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
diff --git a/jitplus/jit-plus-value.cpp b/jitplus/jit-plus-value.cpp
index 4032a8a..d9e7f44 100644
--- a/jitplus/jit-plus-value.cpp
+++ b/jitplus/jit-plus-value.cpp
@@ -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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月20日 18:26:32 +0000

AltStyle によって変換されたページ (->オリジナル) /