[pypy-commit] pypy shadowstack-perf-2: more fixes

arigo pypy.commits at gmail.com
Sun Mar 5 04:56:13 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: shadowstack-perf-2
Changeset: r90558:8479fcf141ae
Date: 2017-03-05 10:55 +0100
http://bitbucket.org/pypy/pypy/changeset/8479fcf141ae/

Log:	more fixes

diff --git a/rpython/memory/gctransform/asmgcroot.py b/rpython/memory/gctransform/asmgcroot.py
--- a/rpython/memory/gctransform/asmgcroot.py
+++ b/rpython/memory/gctransform/asmgcroot.py
@@ -341,6 +341,9 @@
         # called first, to initialize self.belongs_to_current_thread.
         assert not hasattr(self, 'gc_detach_callback_pieces_ptr')
 
+    def postprocess_graph(self, gct, graph, any_inlining):
+        pass
+
     def walk_stack_roots(self, collect_stack_root, is_minor=False):
         gcdata = self.gcdata
         gcdata._gc_collect_stack_root = collect_stack_root
diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py
--- a/rpython/rtyper/llinterp.py
+++ b/rpython/rtyper/llinterp.py
@@ -1139,6 +1139,12 @@
         self.setvar(v_value, newvalue)
     op_gc_restore_root.specialform = True
 
+    def op_gc_push_roots(self, *args):
+        raise NotImplementedError
+
+    def op_gc_pop_roots(self, *args):
+        raise NotImplementedError
+
     # ____________________________________________________________
     # Overflow-detecting variants
 


More information about the pypy-commit mailing list