Message info
 
To:pypy-commit@python.org From:bivab Subject:[pypy-commit] pypy arm-backend-2: invert indexing in checkops Date:Sun, 18 Mar 2012 17:21:44 +0100 (CET)
 

Author: David Schneider <david.schneider@picle.org>
Branch: arm-backend-2
Changeset: r53795:a03a2a53ca76
Date: 2012-03-18 11:56 +0000
http://bitbucket.org/pypy/pypy/changeset/a03a2a53ca76/

Log: invert indexing in checkops

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -3315,7 +3315,7 @@
def checkops(mc, ops):
assert len(mc) == len(ops)
for i in range(len(mc)):
- assert mc[i].split("\t")[-1].startswith(ops[i])
+ assert mc[i].split("\t")[2].startswith(ops[i])

data = ctypes.string_at(info.asmaddr, info.asmlen)
mc = list(machine_code_dump(data, info.asmaddr, cpuname))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit