[PyPy-issue] [issue688] JIT confusion: inconsistent guards

Winston Ewert pypy-dev-issue at codespeak.net
Wed Apr 20 17:14:59 CEST 2011

New submission from Winston Ewert <winstonewert at gmail.com>:

The attached trace shows an immutable field being read off an object twice in a
trace. In both cases the value of the field is given to guard_value; however, it
appears that the value being guarded for the field is different in each case. I
suspect that this is resulting in the optimizer giving up.

I've simplified the code as much as I can. There are several bits that shouldn't
affect the running of the program, but they are necessary to produce this trace.

effort: ???
files: case.py
messages: 2389
nosy: pypy-issue, winstonewert
priority: bug
release: ???
status: unread
title: JIT confusion: inconsistent guards

PyPy development tracker <pypy-dev-issue at codespeak.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: case.py
Type: text/x-python
Size: 1177 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110420/6b7423b3/attachment.py>

More information about the Pypy-issue mailing list