diff options
author | Brett Cannon <brett@python.org> | 2011-03-15 18:45:59 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2011-03-15 18:45:59 -0400 |
commit | f47e3ac7b79db4f95ed812b5f819317144f35c7f (patch) | |
tree | 2ff5d0f1e3d48a7dca097a28116c5227ab558f1f /Python/peephole.c | |
parent | b8daeda5232100e28628326eec702d9fa37314ad (diff) | |
parent | 72d46933368f0ee192d50e421b1648af5c0adf51 (diff) | |
download | cpython-git-f47e3ac7b79db4f95ed812b5f819317144f35c7f.tar.gz |
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 ab96ce9def..4bc65dcc31 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); |