Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r76492:40ed22359f76
Date: 2015-03-21 12:00 +0100
http://bitbucket.org/pypy/pypy/changeset/40ed22359f76/
Log: fix: _processing_block may add new entries into must_call_setup
diff --git a/rpython/rtyper/rtyper.py b/rpython/rtyper/rtyper.py
--- a/rpython/rtyper/rtyper.py
+++ b/rpython/rtyper/rtyper.py
@@ -234,6 +234,8 @@
else:
tracking = lambda block: None
+ for block in pending:
+ self._processing_block(block)
self.call_all_setups(all_threads=True)
try:
@@ -244,7 +246,6 @@
for block in pending:
tracking(block)
blockcount += 1
- self._processing_block(block)
self.specialize_block(block)
self.already_seen[block] = True
# progress bar
@@ -266,7 +267,6 @@
(len(pending),))
tq = transaction.TransactionQueue()
for block in pending:
- self._processing_block(block)
tq.add(self.specialize_block, block)
tq.run()
self.log.event('left transactional mode')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit