mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	gh-131281: fix compile error due to BINARY_SUBSCR (GH-131283)
				
					
				
			* fix compile error due to `BINARY_SUBSCR` * replace stat_inc with `BINARY_OP`
This commit is contained in:
		
							parent
							
								
									55815a6474
								
							
						
					
					
						commit
						1821f8f10c
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -878,7 +878,7 @@ dummy_func( | |||
|             assert(res_o != NULL); | ||||
|             res = PyStackRef_FromPyObjectNew(res_o); | ||||
| #endif | ||||
|             STAT_INC(BINARY_SUBSCR, hit); | ||||
|             STAT_INC(BINARY_OP, hit); | ||||
|             DECREF_INPUTS(); | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										2
									
								
								Python/executor_cases.c.h
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Python/executor_cases.c.h
									
										
									
										generated
									
									
									
								
							|  | @ -1253,7 +1253,7 @@ | |||
|             assert(res_o != NULL); | ||||
|             res = PyStackRef_FromPyObjectNew(res_o); | ||||
|             #endif | ||||
|             STAT_INC(BINARY_SUBSCR, hit); | ||||
|             STAT_INC(BINARY_OP, hit); | ||||
|             _PyFrame_SetStackPointer(frame, stack_pointer); | ||||
|             _PyStackRef tmp = list_st; | ||||
|             list_st = res; | ||||
|  |  | |||
							
								
								
									
										2
									
								
								Python/generated_cases.c.h
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Python/generated_cases.c.h
									
										
									
										generated
									
									
									
								
							|  | @ -702,7 +702,7 @@ | |||
|             assert(res_o != NULL); | ||||
|             res = PyStackRef_FromPyObjectNew(res_o); | ||||
|             #endif | ||||
|             STAT_INC(BINARY_SUBSCR, hit); | ||||
|             STAT_INC(BINARY_OP, hit); | ||||
|             _PyFrame_SetStackPointer(frame, stack_pointer); | ||||
|             _PyStackRef tmp = list_st; | ||||
|             list_st = res; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Xuanteng Huang
						Xuanteng Huang