Author: Dario Bertini <berda...@gmail.com> Branch: Changeset: r45226:62f51617cbc7 Date: 2011-07-01 15:14 +0200 http://bitbucket.org/pypy/pypy/changeset/62f51617cbc7/
Log: merge heads diff --git a/pypy/annotation/builtin.py b/pypy/annotation/builtin.py --- a/pypy/annotation/builtin.py +++ b/pypy/annotation/builtin.py @@ -357,17 +357,6 @@ def llmemory_cast_int_to_adr(s): return SomeAddress() - -##def rarith_ovfcheck(s_obj): -## if isinstance(s_obj, SomeInteger) and s_obj.unsigned: -## getbookkeeper().warning("ovfcheck on unsigned") -## return s_obj - -##def rarith_ovfcheck_lshift(s_obj1, s_obj2): -## if isinstance(s_obj1, SomeInteger) and s_obj1.unsigned: -## getbookkeeper().warning("ovfcheck_lshift with unsigned") -## return SomeInteger() - def unicodedata_decimal(s_uchr): raise TypeError, "unicodedate.decimal() calls should not happen at interp-level" @@ -385,8 +374,6 @@ original = getattr(__builtin__, name[8:]) BUILTIN_ANALYZERS[original] = value -##BUILTIN_ANALYZERS[pypy.rlib.rarithmetic.ovfcheck] = rarith_ovfcheck -##BUILTIN_ANALYZERS[pypy.rlib.rarithmetic.ovfcheck_lshift] = rarith_ovfcheck_lshift BUILTIN_ANALYZERS[pypy.rlib.rarithmetic.intmask] = rarith_intmask BUILTIN_ANALYZERS[pypy.rlib.objectmodel.instantiate] = robjmodel_instantiate BUILTIN_ANALYZERS[pypy.rlib.objectmodel.we_are_translated] = ( diff --git a/pypy/objspace/flow/operation.py b/pypy/objspace/flow/operation.py --- a/pypy/objspace/flow/operation.py +++ b/pypy/objspace/flow/operation.py @@ -143,9 +143,6 @@ def mod_ovf(x, y): return ovfcheck(x % y) -##def pow_ovf(*two_or_three_args): -## return ovfcheck(pow(*two_or_three_args)) - def lshift_ovf(x, y): return ovfcheck_lshift(x, y) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit