@@ -143,7 +143,7 @@ dummy_func(
143143 switch (opcode ) {
144144
145145// BEGIN BYTECODES //
146- inst (NOP , (-- )) {
146+ pure inst (NOP , (-- )) {
147147 }
148148
149149 family (RESUME , 0 ) = {
@@ -266,12 +266,12 @@ dummy_func(
266266 value = PyStackRef_DUP (value_s );
267267 }
268268
269- replicate (8 ) inst (LOAD_FAST , (-- value )) {
269+ replicate (8 ) pure inst (LOAD_FAST , (-- value )) {
270270 assert (!PyStackRef_IsNull (GETLOCAL (oparg )));
271271 value = PyStackRef_DUP (GETLOCAL (oparg ));
272272 }
273273
274- replicate (8 ) inst (LOAD_FAST_BORROW , (-- value )) {
274+ replicate (8 ) pure inst (LOAD_FAST_BORROW , (-- value )) {
275275 assert (!PyStackRef_IsNull (GETLOCAL (oparg )));
276276 value = PyStackRef_Borrow (GETLOCAL (oparg ));
277277 }
@@ -340,7 +340,7 @@ dummy_func(
340340 PyStackRef_XCLOSE (tmp );
341341 }
342342
343- inst (POP_TOP , (value -- )) {
343+ pure inst (POP_TOP , (value -- )) {
344344 PyStackRef_XCLOSE (value );
345345 }
346346
@@ -349,7 +349,7 @@ dummy_func(
349349 PyStackRef_CLOSE (nos );
350350 }
351351
352- inst (PUSH_NULL , (-- res )) {
352+ pure inst (PUSH_NULL , (-- res )) {
353353 res = PyStackRef_NULL ;
354354 }
355355
@@ -388,7 +388,7 @@ dummy_func(
388388 PyStackRef_CLOSE (iter );
389389 }
390390
391- inst (END_SEND , (receiver , value -- val )) {
391+ pure inst (END_SEND , (receiver , value -- val )) {
392392 val = value ;
393393 DEAD (value );
394394 PyStackRef_CLOSE (receiver );
@@ -769,7 +769,7 @@ dummy_func(
769769 DEOPT_IF (!res );
770770 }
771771
772- op (_BINARY_OP_EXTEND , (descr /4 , left , right -- res )) {
772+ pure op (_BINARY_OP_EXTEND , (descr /4 , left , right -- res )) {
773773 PyObject * left_o = PyStackRef_AsPyObjectBorrow (left );
774774 PyObject * right_o = PyStackRef_AsPyObjectBorrow (right );
775775 assert (INLINE_CACHE_ENTRIES_BINARY_OP == 5 );
@@ -3925,7 +3925,7 @@ dummy_func(
39253925 DEOPT_IF (tstate -> py_recursion_remaining <= 1 );
39263926 }
39273927
3928- replicate (5 ) op (_INIT_CALL_PY_EXACT_ARGS , (callable , self_or_null , args [oparg ] -- new_frame : _PyInterpreterFrame * )) {
3928+ replicate (5 ) pure op (_INIT_CALL_PY_EXACT_ARGS , (callable , self_or_null , args [oparg ] -- new_frame : _PyInterpreterFrame * )) {
39293929 int has_self = !PyStackRef_IsNull (self_or_null );
39303930 STAT_INC (CALL , hit );
39313931 new_frame = _PyFrame_PushUnchecked (tstate , callable , oparg + has_self , frame );
@@ -4991,7 +4991,7 @@ dummy_func(
49914991 res = PyStackRef_FromPyObjectSteal (res_o );
49924992 }
49934993
4994- inst (COPY , (bottom , unused [oparg - 1 ] -- bottom , unused [oparg - 1 ], top )) {
4994+ pure inst (COPY , (bottom , unused [oparg - 1 ] -- bottom , unused [oparg - 1 ], top )) {
49954995 assert (oparg > 0 );
49964996 top = PyStackRef_DUP (bottom );
49974997 }
@@ -5025,7 +5025,7 @@ dummy_func(
50255025
50265026 macro (BINARY_OP ) = _SPECIALIZE_BINARY_OP + unused /4 + _BINARY_OP ;
50275027
5028- inst (SWAP , (bottom , unused [oparg - 2 ], top --
5028+ pure inst (SWAP , (bottom , unused [oparg - 2 ], top --
50295029 bottom , unused [oparg - 2 ], top )) {
50305030 _PyStackRef temp = bottom ;
50315031 bottom = top ;
@@ -5260,16 +5260,16 @@ dummy_func(
52605260 DEOPT_IF (!current_executor -> vm_data .valid );
52615261 }
52625262
5263- tier2 op (_LOAD_CONST_INLINE , (ptr /4 -- value )) {
5263+ tier2 pure op (_LOAD_CONST_INLINE , (ptr /4 -- value )) {
52645264 value = PyStackRef_FromPyObjectNew (ptr );
52655265 }
52665266
5267- tier2 op (_POP_TOP_LOAD_CONST_INLINE , (ptr /4 , pop -- value )) {
5267+ tier2 pure op (_POP_TOP_LOAD_CONST_INLINE , (ptr /4 , pop -- value )) {
52685268 PyStackRef_CLOSE (pop );
52695269 value = PyStackRef_FromPyObjectNew (ptr );
52705270 }
52715271
5272- tier2 op (_LOAD_CONST_INLINE_BORROW , (ptr /4 -- value )) {
5272+ tier2 pure op (_LOAD_CONST_INLINE_BORROW , (ptr /4 -- value )) {
52735273 value = PyStackRef_FromPyObjectBorrow (ptr );
52745274 }
52755275
0 commit comments