Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit661629f

Browse files
committed
Add more comment
1 parentf419221 commit661629f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Python/flowgraph.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,9 @@ remove_redundant_deadstore(basicblock *bb)
13081308
{
13091309
for (inti=bb->b_iused-1;i >=0;i--) {
13101310
cfg_instr*inst=&bb->b_instr[i];
1311+
// Optimize only if the opcode is STORE_FAST and the lineno is same.
1312+
// The number of STORE_FAST will be decreased if the optimization is success.
1313+
// So most of case could be skipped.
13111314
if (inst->i_opcode==STORE_FAST) {
13121315
for (intj=i-1;j >=0;j--) {
13131316
cfg_instr*prev=&bb->b_instr[j];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp