diff options
author | Michael Foord <michael@python.org> | 2011-03-15 22:38:41 (GMT) |
---|---|---|
committer | Michael Foord <michael@python.org> | 2011-03-15 22:38:41 (GMT) |
commit | 72d46933368f0ee192d50e421b1648af5c0adf51 (patch) | |
tree | 23a6ddb1b627a791d6bfae20966eba8c502b1b76 /Python/peephole.c | |
parent | b2874b7a4c60e84aed4e89892185c7bea6796667 (diff) | |
parent | 5bd75b87263bc6502753381138e15531ce4574a6 (diff) | |
download | cpython-72d46933368f0ee192d50e421b1648af5c0adf51.zip cpython-72d46933368f0ee192d50e421b1648af5c0adf51.tar.gz cpython-72d46933368f0ee192d50e421b1648af5c0adf51.tar.bz2 |
merge
Diffstat (limited to 'Python/peephole.c')
-rw-r--r-- | Python/peephole.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/peephole.c b/Python/peephole.c index ab96ce9..4bc65dc 100644 --- a/Python/peephole.c +++ b/Python/peephole.c @@ -535,7 +535,8 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names, } if (codestr[i+3] != UNPACK_SEQUENCE || !ISBASICBLOCK(blocks,i,6) || - j != GETARG(codestr, i+3)) + j != GETARG(codestr, i+3) || + opcode == BUILD_SET) continue; if (j == 1) { memset(codestr+i, NOP, 6); |