Author: Armin Rigo <ar...@tunes.org>
Branch: shadowstack-no-move
Changeset: r79824:39acaa1aae45
Date: 2015-09-25 11:06 +0200
http://bitbucket.org/pypy/pypy/changeset/39acaa1aae45/

Log:    Give up, bad approach

diff --git a/rpython/rlib/_stacklet_shadowstack.py 
b/rpython/rlib/_stacklet_shadowstack.py
--- a/rpython/rlib/_stacklet_shadowstack.py
+++ b/rpython/rlib/_stacklet_shadowstack.py
@@ -18,6 +18,8 @@
 sizeofaddr = llmemory.sizeof(llmemory.Address)
 
 
+# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+# CALL THIS!
 def complete_destrptr(gctransformer):
     translator = gctransformer.translator
     mixlevelannotator = MixLevelHelperAnnotator(translator.rtyper)
diff --git a/rpython/rlib/test/test_rstacklet.py 
b/rpython/rlib/test/test_rstacklet.py
--- a/rpython/rlib/test/test_rstacklet.py
+++ b/rpython/rlib/test/test_rstacklet.py
@@ -156,10 +156,12 @@
             else:
                 # switch to this stacklet
                 print "switch to", n
+                print "self = %r" % (self,)
                 h = task.h
                 task.h = runner.sthread.get_null_handle()
                 h = runner.sthread.switch(h)
 
+            print "self = %r" % (self,)
             print "back in self.n = %d, coming from %d" % (self.n,
                                                            runner.comefrom)
             assert runner.nextstep == runner.status
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to