[pypy-svn] r64036 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Mon Apr 13 20:32:26 CEST 2009


Author: fijal
Date: Mon Apr 13 20:32:22 2009
New Revision: 64036

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py
Log:
Fix.


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/executor.py	Mon Apr 13 20:32:22 2009
@@ -235,8 +235,8 @@
         cpu.set_overflow_error()
         return BoxInt(0)
     else:
-        return do_int_floordiv(cpu, args, descr)
-
+        z = llop.int_floordiv(lltype.Signed, args[0].getint(), args[1].getint())
+        return BoxInt(z)
 
 # XXX: these ops should probably be delegated to the backend
 def do_str_stritem_nonneg(cpu, args, descr=None):



More information about the Pypy-commit mailing list