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

Commit9b5dc34

Browse files
committed
trivial stuff
1 parent9220fc1 commit9b5dc34

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Refactor the compiler's code-gen functions to reduce boilerplate and
2-
repetition.
1+
Refactor the compiler to reduce boilerplate and repetition.

‎Python/compile.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,9 @@ is_relative_jump(struct instr *i)
202202
}
203203

204204
staticinlineint
205-
is_block_push(structinstr*instr)
205+
is_block_push(structinstr*i)
206206
{
207-
intopcode=instr->i_opcode;
208-
returnIS_BLOCK_PUSH_OPCODE(opcode);
207+
returnIS_BLOCK_PUSH_OPCODE(i->i_opcode);
209208
}
210209

211210
staticinlineint
@@ -385,7 +384,6 @@ struct compiler_unit {
385384
structlocationu_loc;/* line/column info of the current stmt */
386385
};
387386

388-
389387
/* This struct captures the global state of a compilation.
390388
391389
The u pointer points to the current compilation unit, while units

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp