[pypy-commit] pypy vecopt-merge: updated llgraph to work with the new model (again :)

plan_rich noreply at buildbot.pypy.org
Mon Aug 24 19:21:59 CEST 2015


Author: Richard Plangger <rich at pasra.at>
Branch: vecopt-merge
Changeset: r79211:3742fae37b90
Date: 2015-08-24 19:21 +0200
http://bitbucket.org/pypy/pypy/changeset/3742fae37b90/

Log:	updated llgraph to work with the new model (again :)

diff --git a/rpython/jit/backend/llgraph/runner.py b/rpython/jit/backend/llgraph/runner.py
--- a/rpython/jit/backend/llgraph/runner.py
+++ b/rpython/jit/backend/llgraph/runner.py
@@ -273,7 +273,7 @@
         self.vinfo_for_tests = kwds.get('vinfo_for_tests', None)
 
     def stitch_bridge(self, faildescr, target):
-        faildescr._llgraph_bridge = target._lltrace
+        faildescr._llgraph_bridge = target[0].lltrace
 
     def compile_loop(self, inputargs, operations, looptoken, jd_id=0,
                      unique_id=0, log=True, name='', logger=None):
@@ -292,8 +292,6 @@
         faildescr._llgraph_bridge = lltrace
         clt._llgraph_alltraces.append(lltrace)
         self._record_labels(lltrace)
-        if faildescr.loop_version():
-            faildescr.version._lltrace = lltrace
         return LLAsmInfo(lltrace)
 
     def _record_labels(self, lltrace):


More information about the pypy-commit mailing list