Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r70235:5279e26ea559
Date: 2014-03-24 08:05 +0100
http://bitbucket.org/pypy/pypy/changeset/5279e26ea559/
Log: Mark these as needing refactoring
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -70,11 +70,6 @@
stmonly_jitdriver.jit_merge_point(
self=self, co_code=co_code,
next_instr=next_instr, ec=ec)
- # nothing inbetween!
- # XXX REMOVED TEMPORARILY?
- #if rstm.jit_stm_should_break_transaction(False):
- # rstm.jit_stm_transaction_break_point()
- #self = self._hints_for_stm()
next_instr = self.handle_bytecode(co_code, next_instr, ec)
except ExitFrame:
return self.popvalue()
diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py
--- a/rpython/rlib/rstm.py
+++ b/rpython/rlib/rstm.py
@@ -24,14 +24,16 @@
def jit_stm_transaction_break_point():
+ # XXX REFACTOR AWAY
if we_are_translated():
llop.jit_stm_transaction_break_point(lltype.Void)
def jit_stm_should_break_transaction(if_there_is_no_other):
+ # XXX REFACTOR AWAY
# if_there_is_no_other means that we use this point only
# if there is no other break point in the trace.
# If it is False, the point may be used if it comes right
- # a CALL_RELEASE_GIL
+ # after a CALL_RELEASE_GIL
return llop.jit_stm_should_break_transaction(lltype.Bool,
if_there_is_no_other)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit