dotgnu-pnet-commits
[Top][All Lists]
Advanced

[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. 3cd97b10304f0b4275d257a33a359e456f097735
Date: Mon, 05 Nov 2012 09:28:41 +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  3cd97b10304f0b4275d257a33a359e456f097735 (commit)
      from  eac85a2bd517c8e921c81218c601f8bc5a2c653e (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=3cd97b10304f0b4275d257a33a359e456f097735

commit 3cd97b10304f0b4275d257a33a359e456f097735
Author: Aleksey Demakov <address@hidden>
Date:   Mon Nov 5 12:27:51 2012 +0300

    Free function signature upon function creation in jitplus.

diff --git a/ChangeLog b/ChangeLog
index a6f240a..483ca5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-05  Aleksey Demakov  <address@hidden>
+
+       * jitplus/jit-plus-function.cpp (create): free function signature.
+       * tutorial/t3.c, tutorial/t3.c: free function signature.
+
 2012-10-30  Aleksey Demakov  <address@hidden>
 
        * tutorial/t1.c, tutorial/t2.c: free function signature.
diff --git a/jitplus/jit-plus-function.cpp b/jitplus/jit-plus-function.cpp
index 41ef66b..ecda7f2 100644
--- a/jitplus/jit-plus-function.cpp
+++ b/jitplus/jit-plus-function.cpp
@@ -187,10 +187,7 @@ void jit_function::create()
        {
                jit_type_t signature = create_signature();
                create(signature);
-               if(!func)
-               {
-                       jit_type_free(signature);
-               }
+               jit_type_free(signature);
        }
 }
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |    5 +++++
 jitplus/jit-plus-function.cpp |    5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET Just In Time compiler (libjit)



reply via email to

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