mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-115999: remove redundant check in free-threading from _STORE_ATTR_WITH_HINT (#136249)
				
					
				
			This commit is contained in:
		
							parent
							
								
									48cb9b6112
								
							
						
					
					
						commit
						85f092f541
					
				
					 3 changed files with 0 additions and 25 deletions
				
			
		
							
								
								
									
										10
									
								
								Python/generated_cases.c.h
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								Python/generated_cases.c.h
									
										
									
										generated
									
									
									
								
							|  | @ -11064,16 +11064,6 @@ | |||
|                     assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR)); | ||||
|                     JUMP_TO_PREDICTED(STORE_ATTR); | ||||
|                 } | ||||
|                 #ifdef Py_GIL_DISABLED | ||||
|                 if (dict != _PyObject_GetManagedDict(owner_o)) { | ||||
|                     UNLOCK_OBJECT(dict); | ||||
|                     if (true) { | ||||
|                         UPDATE_MISS_STATS(STORE_ATTR); | ||||
|                         assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR)); | ||||
|                         JUMP_TO_PREDICTED(STORE_ATTR); | ||||
|                     } | ||||
|                 } | ||||
|                 #endif | ||||
|                 assert(PyDict_CheckExact((PyObject *)dict)); | ||||
|                 PyObject *name = GETITEM(FRAME_CO_NAMES, oparg); | ||||
|                 if (hint >= (size_t)dict->ma_keys->dk_nentries || | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kumar Aditya
						Kumar Aditya