[pypy-svn] r25023 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Mon Mar 27 12:30:32 CEST 2006


Author: arigo
Date: Mon Mar 27 12:30:26 2006
New Revision: 25023

Modified:
   pypy/dist/pypy/rpython/llinterp.py
Log:
Remove the last reference to lladdress in the llinterp.


Modified: pypy/dist/pypy/rpython/llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/llinterp.py	(original)
+++ pypy/dist/pypy/rpython/llinterp.py	Mon Mar 27 12:30:26 2006
@@ -1,7 +1,6 @@
 from pypy.objspace.flow.model import FunctionGraph, Constant, Variable, c_last_exception
 from pypy.rpython.rarithmetic import intmask, r_uint, ovfcheck, r_longlong, r_ulonglong
 from pypy.rpython.lltypesystem import lltype, llmemory, lloperation
-from pypy.rpython.memory import lladdress
 from pypy.rpython.ootypesystem import ootype
 
 import sys
@@ -679,8 +678,8 @@
                        ("gt", ">"), ("ge", ">=")):
         exec py.code.Source("""
             def op_adr_%s(self, addr1, addr2):
-                assert isinstance(addr1, lladdress.address)
-                assert isinstance(addr2, lladdress.address)
+                checkadr(addr1)
+                checkadr(addr2)
                 return addr1 %s addr2""" % (opname, op)).compile()
 
     # __________________________________________________________



More information about the Pypy-commit mailing list