[pypy-commit] pypy guard-compatible: typo

2016-06-28 Thread cfbolz
Author: Carl Friedrich Bolz 
Branch: guard-compatible
Changeset: r85431:3e20ab453a7c
Date: 2016-06-27 14:55 +0200
http://bitbucket.org/pypy/pypy/changeset/3e20ab453a7c/

Log:typo

diff --git a/rpython/jit/metainterp/compatible.py 
b/rpython/jit/metainterp/compatible.py
--- a/rpython/jit/metainterp/compatible.py
+++ b/rpython/jit/metainterp/compatible.py
@@ -293,7 +293,7 @@
 else:
 assert rettype == VOID
 # XXX maybe we should forbid this
-call_op = ResOperation(rop.CALL_PURE_R, args, descr)
+call_op = ResOperation(rop.CALL_PURE_N, args, descr)
 short.append(call_op)
 return
 # add result to call_pure_results
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy guard-compatible: typo

2016-05-23 Thread arigo
Author: Armin Rigo 
Branch: guard-compatible
Changeset: r84621:a473089e0f3c
Date: 2016-05-23 12:48 +0200
http://bitbucket.org/pypy/pypy/changeset/a473089e0f3c/

Log:typo

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -1460,7 +1460,7 @@
 def genop_load_from_gc_table(self, op, arglocs, resloc):
 index = op.getarg(0).getint()
 assert isinstance(resloc, RegLoc)
-self._load_reg_from_gc_table(resloc.value, index)
+self.load_reg_from_gc_table(resloc.value, index)
 
 def genop_int_force_ge_zero(self, op, arglocs, resloc):
 self.mc.TEST(arglocs[0], arglocs[0])
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit