[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] libjit ChangeLog include/jit/jit-plus.h jitplus...
From: |
Aleksey Demakov |
Subject: |
[dotgnu-pnet-commits] libjit ChangeLog include/jit/jit-plus.h jitplus... |
Date: |
Thu, 08 Nov 2007 17:31:42 +0000 |
CVSROOT: /sources/dotgnu-pnet
Module name: libjit
Changes by: Aleksey Demakov <avd> 07/11/08 17:31:42
Modified files:
. : ChangeLog
include/jit : jit-plus.h
jitplus : jit-plus-function.cpp
Log message:
fix a typo and add a wrapper for jit_function_reserve_label for jitplus
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libjit/ChangeLog?cvsroot=dotgnu-pnet&r1=1.320&r2=1.321
http://cvs.savannah.gnu.org/viewcvs/libjit/include/jit/jit-plus.h?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/libjit/jitplus/jit-plus-function.cpp?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/ChangeLog,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -b -r1.320 -r1.321
--- ChangeLog 7 Oct 2007 14:16:50 -0000 1.320
+++ ChangeLog 8 Nov 2007 17:31:42 -0000 1.321
@@ -1,3 +1,10 @@
+2007-11-08 Aleksey Demakov <address@hidden>
+
+ * include/jit/jit-plus.h, jitplus/jit-plus-function.cpp (new_label):
+ add c++ wrapper for jit_function_reserve_label.
+
+ * include/jit/jit-plus.h (clear_recompilable): fix a typo.
+
2007-10-07 Aleksey Demakov <address@hidden>
* jit/jit-rules-x86.ins (JIT_OP_JUMP_TABLE): fix jump table code
Index: include/jit/jit-plus.h
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/include/jit/jit-plus.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- include/jit/jit-plus.h 4 Oct 2004 02:26:41 -0000 1.12
+++ include/jit/jit-plus.h 8 Nov 2007 17:31:42 -0000 1.13
@@ -151,7 +151,7 @@
int is_recompilable() const { return
jit_function_is_recompilable(func); }
void set_recompilable() { jit_function_set_recompilable(func); }
- void clear_recompilable() { jit_function_set_recompilable(func); }
+ void clear_recompilable() { jit_function_clear_recompilable(func); }
void set_recompilable(int flag)
{ if(flag) set_recompilable(); else clear_recompilable(); }
@@ -206,6 +206,8 @@
jit_value get_param(unsigned int param);
jit_value get_struct_pointer();
+ jit_label new_label();
+
void insn_label(jit_label& label);
void insn_new_block();
jit_value insn_load(const jit_value& value);
Index: jitplus/jit-plus-function.cpp
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/jitplus/jit-plus-function.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- jitplus/jit-plus-function.cpp 12 Feb 2007 21:38:45 -0000 1.12
+++ jitplus/jit-plus-function.cpp 8 Nov 2007 17:31:42 -0000 1.13
@@ -558,6 +558,17 @@
}
/*@
+ * @deftypemethod jit_function jit_label new_label ()
+ * Create a new label. This is the C++ counterpart to
+ * @code{jit_function_reserve_label}.
+ * @end deftypemethod
address@hidden/
+jit_label jit_function::new_label()
+{
+ return jit_label(jit_function_reserve_label(func));
+}
+
+/*@
* @deftypemethod jit_function void insn_label ({jit_label&} label)
* @deftypemethodx jit_function void insn_new_block ()
* @deftypemethodx jit_function jit_value insn_load ({const jit_value&} value)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] libjit ChangeLog include/jit/jit-plus.h jitplus...,
Aleksey Demakov <=