[pypy-commit] pypy jitframe-on-heap: rename _build_stack_check_failure to build_frame_realloc_slowpath

bivab noreply at buildbot.pypy.org
Thu Feb 21 14:50:11 CET 2013


Author: David Schneider <david.schneider at picle.org>
Branch: jitframe-on-heap
Changeset: r61538:5e490176a2ba
Date: 2013-02-21 14:27 +0100
http://bitbucket.org/pypy/pypy/changeset/5e490176a2ba/

Log:	rename _build_stack_check_failure to build_frame_realloc_slowpath

diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py
--- a/rpython/jit/backend/arm/assembler.py
+++ b/rpython/jit/backend/arm/assembler.py
@@ -740,7 +740,7 @@
         self.push_gcmap(mc, gcmap, push=True)
 
 
-        self.mc.BL(self._stack_check_failure)
+        self.mc.BL(self._frame_realloc_slowpath)
 
         # patch jg_location above
         currpos = self.mc.currpos()
@@ -749,7 +749,7 @@
 
         return stack_check_cmp_ofs
 
-    def _build_stack_check_failure(self):
+    def build_frame_realloc_slowpath(self):
         # this code should do the following steps
         # a) store all registers in the jitframe
         # b) fish for the arguments passed by the caller
@@ -805,7 +805,7 @@
         # restore registers
         self._pop_all_regs_from_jitframe(mc, [], self.cpu.supports_floats)
         mc.POP([r.ip.value, r.pc.value]) # return
-        self._stack_check_failure = mc.materialize(self.cpu.asmmemmgr, [])
+        self._frame_realloc_slowpath = mc.materialize(self.cpu.asmmemmgr, [])
 
     def _load_shadowstack_top(self, mc, reg, gcrootmap):
         rst = gcrootmap.get_root_stack_top_addr()


More information about the pypy-commit mailing list