[pypy-commit] pypy default: Rename `get_shadowstack_functions()` to `annotate_walker_functions()`.

Manuel Jacob noreply at buildbot.pypy.org
Thu Sep 20 19:26:11 CEST 2012


Author: Manuel Jacob
Branch: 
Changeset: r57412:776180ed4245
Date: 2012-09-12 15:31 +0200
http://bitbucket.org/pypy/pypy/changeset/776180ed4245/

Log:	Rename `get_shadowstack_functions()` to
	`annotate_walker_functions()`.

diff --git a/pypy/rpython/memory/gctransform/framework.py b/pypy/rpython/memory/gctransform/framework.py
--- a/pypy/rpython/memory/gctransform/framework.py
+++ b/pypy/rpython/memory/gctransform/framework.py
@@ -228,7 +228,7 @@
         self.frameworkgc__teardown_ptr = getfn(frameworkgc__teardown, [],
                                                annmodel.s_None)
 
-        self.get_shadowstack_functions(getfn)
+        self.annotate_walker_functions(getfn)
         self.weakref_deref_ptr = self.inittime_helper(
             ll_weakref_deref, [llmemory.WeakRefPtr], llmemory.Address)
 
@@ -1198,7 +1198,7 @@
         return super(BaseFrameworkGCTransformer, self).compute_borrowed_vars(
                 graph)
 
-    def get_shadowstack_functions(self, getfn):
+    def annotate_walker_functions(self, getfn):
         pass
 
     def build_root_walker(self):
diff --git a/pypy/rpython/memory/gctransform/shadowstack.py b/pypy/rpython/memory/gctransform/shadowstack.py
--- a/pypy/rpython/memory/gctransform/shadowstack.py
+++ b/pypy/rpython/memory/gctransform/shadowstack.py
@@ -10,7 +10,7 @@
 
 
 class ShadowStackFrameworkGCTransformer(BaseFrameworkGCTransformer):
-    def get_shadowstack_functions(self, getfn):
+    def annotate_walker_functions(self, getfn):
         self.incr_stack_ptr = getfn(self.root_walker.incr_stack,
                                    [annmodel.SomeInteger()],
                                    annmodel.SomeAddress(),


More information about the pypy-commit mailing list