[pypy-svn] r64873 - pypy/branch/pyjitpl5/pypy/jit/backend/x86
arigo at codespeak.net
arigo at codespeak.net
Thu Apr 30 19:04:06 CEST 2009
Author: arigo
Date: Thu Apr 30 19:04:05 2009
New Revision: 64873
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
Assert that we get the right number of arguments.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py Thu Apr 30 19:04:05 2009
@@ -546,6 +546,7 @@
def do_call(self, args, calldescr):
num_args, size, ptr = self.unpack_calldescr(calldescr)
assert isinstance(calldescr, ConstDescr3)
+ assert num_args == len(args) - 1
loop = self._get_loop_for_call(num_args, calldescr, ptr)
history.set_future_values(self, args)
self.execute_operations(loop)
More information about the Pypy-commit
mailing list