Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r69020:f6ad0270171c Date: 2014-01-30 11:08 +0100 http://bitbucket.org/pypy/pypy/changeset/f6ad0270171c/
Log: Rename simple_op to binary_op. diff --git a/rpython/translator/llvm/genllvm.py b/rpython/translator/llvm/genllvm.py --- a/rpython/translator/llvm/genllvm.py +++ b/rpython/translator/llvm/genllvm.py @@ -1006,8 +1006,8 @@ opres = get_repr(op.result) opargs = [get_repr(arg) for arg in op.args] if opname in OPS: - simple_op = OPS[opname] - self.w('{opres.V} = {simple_op} {opargs[0].TV}, {opargs[1].V}' + binary_op = OPS[opname] + self.w('{opres.V} = {binary_op} {opargs[0].TV}, {opargs[1].V}' .format(**locals())) elif opname.startswith('cast_') or opname.startswith('truncate_'): self._cast(opres, opargs[0]) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit