Author: Richard Plangger <[email protected]>
Branch: vecopt-merge
Changeset: r80147:66b7452af316
Date: 2015-10-12 20:33 +0200
http://bitbucket.org/pypy/pypy/changeset/66b7452af316/
Log: added missing code from merge
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
@@ -47,6 +47,13 @@
self.inputargs = map(mapping, inputargs)
self.operations = []
for op in operations:
+ opnum = op.getopnum()
+ if opnum == rop.GUARD_VALUE:
+ # we don't care about the value 13 here, because we gonna
+ # fish it from the extra slot on frame anyway
+ op.getdescr().make_a_counter_per_value(op, 13)
+ elif opnum == rop.BRIDGE_EXCEPTION:
+ assert len(self.operations) == 0 # must be first
if op.getdescr() is not None:
if op.is_guard() or op.getopnum() == rop.FINISH:
newdescr = op.getdescr()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit