@@ -291,31 +291,31 @@ _PyCode_Quicken(PyCodeObject *code)
291291 }
292292 switch (previous_opcode << 8 | opcode ) {
293293 case LOAD_CONST << 8 | LOAD_FAST :
294- instructions [i - 1 ]. opcode = LOAD_CONST__LOAD_FAST ;
294+ _Py_OPCODE ( instructions [i - 1 ]) = LOAD_CONST__LOAD_FAST ;
295295 break ;
296296 case LOAD_FAST << 8 | LOAD_CONST :
297- instructions [i - 1 ]. opcode = LOAD_FAST__LOAD_CONST ;
297+ _Py_OPCODE ( instructions [i - 1 ]) = LOAD_FAST__LOAD_CONST ;
298298 break ;
299299 case LOAD_FAST << 8 | LOAD_FAST :
300- instructions [i - 1 ]. opcode = LOAD_FAST__LOAD_FAST ;
300+ _Py_OPCODE ( instructions [i - 1 ]) = LOAD_FAST__LOAD_FAST ;
301301 break ;
302302 case STORE_FAST << 8 | LOAD_FAST :
303- instructions [i - 1 ]. opcode = STORE_FAST__LOAD_FAST ;
303+ _Py_OPCODE ( instructions [i - 1 ]) = STORE_FAST__LOAD_FAST ;
304304 break ;
305305 case STORE_FAST << 8 | STORE_FAST :
306- instructions [i - 1 ]. opcode = STORE_FAST__STORE_FAST ;
306+ _Py_OPCODE ( instructions [i - 1 ]) = STORE_FAST__STORE_FAST ;
307307 break ;
308308 case COMPARE_OP << 8 | POP_JUMP_IF_TRUE :
309309 case COMPARE_OP << 8 | POP_JUMP_IF_FALSE :
310310 {
311- int oparg = instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]. oparg ;
311+ int oparg = _Py_OPARG ( instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]) ;
312312 assert ((oparg >> 4 ) <= Py_GE );
313313 int mask = compare_masks [oparg >> 4 ];
314314 if (opcode == POP_JUMP_IF_FALSE ) {
315315 mask = mask ^ 0xf ;
316316 }
317- instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]. opcode = COMPARE_AND_BRANCH ;
318- instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]. oparg = (oparg & 0xf0 ) | mask ;
317+ _Py_OPCODE ( instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]) = COMPARE_AND_BRANCH ;
318+ _Py_OPARG ( instructions [i - 1 - INLINE_CACHE_ENTRIES_COMPARE_OP ]) = (oparg & 0xf0 ) | mask ;
319319 break ;
320320 }
321321 }
0 commit comments