[pypy-svn] r62766 - pypy/trunk/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Mon Mar 9 17:59:34 CET 2009


Author: arigo
Date: Mon Mar  9 17:59:34 2009
New Revision: 62766

Modified:
   pypy/trunk/pypy/jit/metainterp/executor.py
Log:
uint_lshift is the same as int_lshift.


Modified: pypy/trunk/pypy/jit/metainterp/executor.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/executor.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/executor.py	Mon Mar  9 17:59:34 2009
@@ -46,10 +46,7 @@
 do_uint_add = do_int_add
 do_uint_sub = do_int_sub
 do_uint_mul = do_int_mul
-
-def do_uint_lshift(cpu, args, descr=0):
-    v = r_uint(args[0].getint()) << r_uint(args[1].getint())
-    return ConstInt(intmask(v))
+do_uint_lshift = do_int_lshift
 
 def do_uint_rshift(cpu, args, descr=0):
     v = r_uint(args[0].getint()) >> r_uint(args[1].getint())



More information about the Pypy-commit mailing list