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, cache-refactoring, updated. d713e328c07d69afa75bdefd85d8f40a9c279c8a
Date: Sun, 29 Jul 2012 07:33:04 +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, cache-refactoring has been updated
       via  d713e328c07d69afa75bdefd85d8f40a9c279c8a (commit)
      from  a2a60671b99b64e42dbc1e2b25a311a1c40b8a4c (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=d713e328c07d69afa75bdefd85d8f40a9c279c8a

commit d713e328c07d69afa75bdefd85d8f40a9c279c8a
Author: Aleksey Demakov <address@hidden>
Date:   Sun Jul 29 11:32:23 2012 +0400

    Rename _jit_cache_get_method() to _jit_cache_get_function()

diff --git a/ChangeLog b/ChangeLog
index ff44f8a..5f3b432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,8 @@
        Store the cache position data in jit_gencode struct.
        * jit/jit-rules.h, jit/jit-rules.c: (_jit_gen_check_space)
        (_jit_gen_alloc): add.
+       * jit/jit-cache.h, jit/jit-cache.c (_jit_cache_get_function):
+       rename from _jit_cache_get_method. 
 
 2012-02-11  Aleksey Demakov  <address@hidden>
 
diff --git a/jit/jit-cache.c b/jit/jit-cache.c
index e813a15..deaedd8 100644
--- a/jit/jit-cache.c
+++ b/jit/jit-cache.c
@@ -681,7 +681,7 @@ _jit_cache_alloc_no_method(jit_cache_t cache, unsigned long 
size, unsigned long
 }
 
 jit_function_t
-_jit_cache_get_method(jit_cache_t cache, void *pc)
+_jit_cache_get_function(jit_cache_t cache, void *pc)
 {
        jit_cache_method_t node = cache->head.right;
        while(node != &(cache->nil))
diff --git a/jit/jit-cache.h b/jit/jit-cache.h
index 8c853c2..13dfd38 100644
--- a/jit/jit-cache.h
+++ b/jit/jit-cache.h
@@ -106,7 +106,7 @@ void *_jit_cache_alloc_no_method
  * program counter.  Returns NULL if the PC is not associated
  * with a method within the cache.
  */
-jit_function_t _jit_cache_get_method(jit_cache_t cache, void *pc);
+jit_function_t _jit_cache_get_function(jit_cache_t cache, void *pc);
 
 
 #ifdef __cplusplus
diff --git a/jit/jit-except.c b/jit/jit-except.c
index abde516..91054e7 100644
--- a/jit/jit-except.c
+++ b/jit/jit-except.c
@@ -400,7 +400,7 @@ jit_function_t jit_stack_trace_get_function
                jit_cache_t cache = _jit_context_get_cache(context);
                if(cache)
                {
-                       return _jit_cache_get_method(cache, trace->items[posn]);
+                       return _jit_cache_get_function(cache, 
trace->items[posn]);
                }
        }
        return 0;
@@ -441,7 +441,7 @@ unsigned int jit_stack_trace_get_offset
                jit_cache_t cache = _jit_context_get_cache(context);
                if(cache)
                {
-                       jit_function_t func = _jit_cache_get_method(cache, 
trace->items[posn]);
+                       jit_function_t func = _jit_cache_get_function(cache, 
trace->items[posn]);
                        if (func)
                        {
                                return _jit_function_get_bytecode(func, 
trace->items[posn], 0);
diff --git a/jit/jit-function.c b/jit/jit-function.c
index 0e4a6ef..96897d1 100644
--- a/jit/jit-function.c
+++ b/jit/jit-function.c
@@ -644,7 +644,7 @@ jit_function_t jit_function_from_closure(jit_context_t 
context, void *closure)
        {
                return 0;
        }
-       return _jit_cache_get_method(context->cache, closure);
+       return _jit_cache_get_function(context->cache, closure);
 }
 
 /*@
@@ -668,7 +668,7 @@ jit_function_t jit_function_from_pc
        }
 
        /* Get the function and the exception handler cookie */
-       func = _jit_cache_get_method(context->cache, pc);
+       func = _jit_cache_get_function(context->cache, pc);
        if(!func)
        {
                return 0;
@@ -748,7 +748,7 @@ jit_function_t 
jit_function_from_vtable_pointer(jit_context_t context, void *vta
        {
                return 0;
        }
-       return _jit_cache_get_method(context->cache, vtable_pointer);
+       return _jit_cache_get_function(context->cache, vtable_pointer);
 #endif
 }
 
diff --git a/jit/jit-unwind.c b/jit/jit-unwind.c
index 4e3619a..8e91fdf 100644
--- a/jit/jit-unwind.c
+++ b/jit/jit-unwind.c
@@ -169,7 +169,7 @@ jit_unwind_get_function(jit_unwind_context_t *unwind)
        {
                jit_cache_t cache = _jit_context_get_cache(unwind->context);
                void *pc = jit_unwind_get_pc(unwind);
-               unwind->cache = _jit_cache_get_method(cache, pc);
+               unwind->cache = _jit_cache_get_function(cache, pc);
        }
 
        return (jit_function_t) unwind->cache;

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

Summary of changes:
 ChangeLog          |    2 ++
 jit/jit-cache.c    |    2 +-
 jit/jit-cache.h    |    2 +-
 jit/jit-except.c   |    4 ++--
 jit/jit-function.c |    6 +++---
 jit/jit-unwind.c   |    2 +-
 6 files changed, 10 insertions(+), 8 deletions(-)


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



reply via email to

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