File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Misc/NEWS.d/next/Core and Builtins Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- Refactor the compiler's code-gen functions to reduce boilerplate and
2- repetition.
1+ Refactor the compiler to reduce boilerplate and repetition.
Original file line number Diff line number Diff line change @@ -202,10 +202,9 @@ is_relative_jump(struct instr *i)
202202}
203203
204204static inline int
205- is_block_push (struct instr * instr )
205+ is_block_push (struct instr * i )
206206{
207- int opcode = instr -> i_opcode ;
208- return IS_BLOCK_PUSH_OPCODE (opcode );
207+ return IS_BLOCK_PUSH_OPCODE (i -> i_opcode );
209208}
210209
211210static inline int
@@ -385,7 +384,6 @@ struct compiler_unit {
385384 struct location u_loc ; /* line/column info of the current stmt */
386385};
387386
388-
389387/* This struct captures the global state of a compilation.
390388
391389The u pointer points to the current compilation unit, while units
You can’t perform that action at this time.
0 commit comments