[pypy-svn] r49369 - pypy/dist/pypy/rlib
arigo at codespeak.net
arigo at codespeak.net
Wed Dec 5 10:53:22 CET 2007
Author: arigo
Date: Wed Dec 5 10:53:20 2007
New Revision: 49369
Modified:
pypy/dist/pypy/rlib/debug.py
Log:
Simplify.
Modified: pypy/dist/pypy/rlib/debug.py
==============================================================================
--- pypy/dist/pypy/rlib/debug.py (original)
+++ pypy/dist/pypy/rlib/debug.py Wed Dec 5 10:53:20 2007
@@ -74,11 +74,9 @@
raise ValueError("Second argument of check_annotation must be constant")
checker = s_checker.const
checker(s_arg, self.bookkeeper)
- from pypy.annotation import model
return s_arg
def specialize_call(self, hop):
hop.exception_cannot_occur()
- vlist = [hop.inputarg(hop.args_r[0], arg=0)]
- return hop.genop("same_as", vlist, resulttype=hop.r_result)
+ return hop.inputarg(hop.args_r[0], arg=0)
More information about the Pypy-commit
mailing list