[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (l
From: |
Aleksey Demakov |
Subject: |
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. eac85a2bd517c8e921c81218c601f8bc5a2c653e |
Date: |
Mon, 05 Nov 2012 09:24:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".
The branch, master has been updated
via eac85a2bd517c8e921c81218c601f8bc5a2c653e (commit)
from 8cea24896584ca883ec215b465970f074444618d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=eac85a2bd517c8e921c81218c601f8bc5a2c653e
commit eac85a2bd517c8e921c81218c601f8bc5a2c653e
Author: Aleksey Demakov <address@hidden>
Date: Mon Nov 5 12:24:12 2012 +0300
Free function signatures in samples.
diff --git a/tutorial/t1.c b/tutorial/t1.c
index c6fd2b6..e56e3a8 100644
--- a/tutorial/t1.c
+++ b/tutorial/t1.c
@@ -41,6 +41,7 @@ int main(int argc, char **argv)
/* Create the function object */
function = jit_function_create(context, signature);
+ jit_type_free(signature);
/* Construct the function body */
x = jit_value_get_param(function, 0);
@@ -68,7 +69,6 @@ int main(int argc, char **argv)
/* Clean up */
jit_context_destroy(context);
- jit_type_free(signature);
/* Finished */
return 0;
diff --git a/tutorial/t2.c b/tutorial/t2.c
index 9f05781..7d2ec6d 100644
--- a/tutorial/t2.c
+++ b/tutorial/t2.c
@@ -55,6 +55,7 @@ int main(int argc, char **argv)
/* Create the function object */
function = jit_function_create(context, signature);
+ jit_type_free(signature);
/* Check the condition "if(x == y)" */
x = jit_value_get_param(function, 0);
@@ -105,7 +106,6 @@ int main(int argc, char **argv)
/* Clean up */
jit_context_destroy(context);
- jit_type_free(signature);
/* Finished */
return 0;
diff --git a/tutorial/t3.c b/tutorial/t3.c
index 10f4c42..36fb3aa 100644
--- a/tutorial/t3.c
+++ b/tutorial/t3.c
@@ -60,6 +60,7 @@ int main(int argc, char **argv)
/* Create the function object */
function = jit_function_create(context, signature);
+ jit_type_free(signature);
/* Make the function recompilable */
jit_function_set_recompilable(function);
diff --git a/tutorial/t5.c b/tutorial/t5.c
index 7bac8a5..09cd1a9 100644
--- a/tutorial/t5.c
+++ b/tutorial/t5.c
@@ -54,6 +54,7 @@ int main(int argc, char **argv)
/* Create the function object */
function = jit_function_create(context, signature);
+ jit_type_free(signature);
/* Check the condition "if(x == y)" */
x = jit_value_get_param(function, 0);
-----------------------------------------------------------------------
Summary of changes:
tutorial/t1.c | 2 +-
tutorial/t2.c | 2 +-
tutorial/t3.c | 1 +
tutorial/t5.c | 1 +
4 files changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
DotGNU Portable.NET Just In Time compiler (libjit)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. eac85a2bd517c8e921c81218c601f8bc5a2c653e,
Aleksey Demakov <=