[pypy-svn] r67989 - pypy/branch/remove-fail/pypy/jit/backend/llsupport

arigo at codespeak.net arigo at codespeak.net
Tue Sep 29 17:18:41 CEST 2009


Author: arigo
Date: Tue Sep 29 17:18:40 2009
New Revision: 67989

Modified:
   pypy/branch/remove-fail/pypy/jit/backend/llsupport/descr.py
Log:
Fix.


Modified: pypy/branch/remove-fail/pypy/jit/backend/llsupport/descr.py
==============================================================================
--- pypy/branch/remove-fail/pypy/jit/backend/llsupport/descr.py	(original)
+++ pypy/branch/remove-fail/pypy/jit/backend/llsupport/descr.py	Tue Sep 29 17:18:40 2009
@@ -200,11 +200,11 @@
             result_list = [result]
         operations = [
             ResOperation(rop.CALL, args, result, self),
-            ResOperation(rop.GUARD_NO_EXCEPTION, [], None),
-            ResOperation(rop.FAIL, result_list, None,
+            ResOperation(rop.GUARD_NO_EXCEPTION, [], None,
+                         descr=BasicFailDescr()),
+            ResOperation(rop.FINISH, result_list, None,
                          descr=BasicFailDescr())]
-        operations[1].suboperations = [ResOperation(rop.FAIL, [], None,
-                                              descr=BasicFailDescr())]
+        operations[1].fail_args = []
         executable_token = cpu.compile_loop(args, operations)
         self.executable_token = executable_token
         return executable_token



More information about the Pypy-commit mailing list