Author: Armin Rigo <ar...@tunes.org> Branch: shadowstack-perf-2 Changeset: r84807:2d2b7d39e7c1 Date: 2016-05-28 19:37 +0200 http://bitbucket.org/pypy/pypy/changeset/2d2b7d39e7c1/
Log: sanity-checks diff --git a/rpython/translator/c/gc.py b/rpython/translator/c/gc.py --- a/rpython/translator/c/gc.py +++ b/rpython/translator/c/gc.py @@ -408,6 +408,12 @@ yield 'pypy_ss_t *ss = (pypy_ss_t *)%s;' % gcpol_ss funcgen.gcpol_ss = gcpol_ss + def OP_GC_PUSH_ROOTS(self, funcgen, op): + raise Exception("gc_push_roots should be removed by postprocess_graph") + + def OP_GC_POP_ROOTS(self, funcgen, op): + raise Exception("gc_pop_roots should be removed by postprocess_graph") + def OP_GC_ENTER_ROOTS_FRAME(self, funcgen, op): if op is not funcgen.graph.startblock.operations[0]: raise Exception("gc_enter_roots_frame as a non-initial instruction") _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit