[pypy-svn] r42206 - pypy/dist/pypy/lang/prolog/interpreter
arigo at codespeak.net
arigo at codespeak.net
Fri Apr 20 16:37:11 CEST 2007
Author: arigo
Date: Fri Apr 20 16:37:10 2007
New Revision: 42206
Modified:
pypy/dist/pypy/lang/prolog/interpreter/engine.py
Log:
Add an XXX comment.
Modified: pypy/dist/pypy/lang/prolog/interpreter/engine.py
==============================================================================
--- pypy/dist/pypy/lang/prolog/interpreter/engine.py (original)
+++ pypy/dist/pypy/lang/prolog/interpreter/engine.py Fri Apr 20 16:37:10 2007
@@ -42,6 +42,8 @@
return self.vars[index]
def setvar(self, index, val):
+ # XXX check if oldval != val
+ # it happens all the time in get_last_var_in_chain_and_val()
oldval = self.vars[index]
self.vars[index] = val
# only trail for variables that have a chance to get restored
More information about the Pypy-commit
mailing list