mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	use stack macros
This commit is contained in:
		
							parent
							
								
									b8338ab92c
								
							
						
					
					
						commit
						8f7b94eae9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1424,7 +1424,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		case LIST_APPEND:
 | 
							case LIST_APPEND:
 | 
				
			||||||
			w = POP();
 | 
								w = POP();
 | 
				
			||||||
			v = stack_pointer[-oparg];
 | 
								v = PEEK(oparg);
 | 
				
			||||||
			err = PyList_Append(v, w);
 | 
								err = PyList_Append(v, w);
 | 
				
			||||||
			Py_DECREF(w);
 | 
								Py_DECREF(w);
 | 
				
			||||||
			if (err == 0) {
 | 
								if (err == 0) {
 | 
				
			||||||
| 
						 | 
					@ -1954,7 +1954,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			} else if (unpack_iterable(v, oparg,
 | 
								} else if (unpack_iterable(v, oparg,
 | 
				
			||||||
						   stack_pointer + oparg)) {
 | 
											   stack_pointer + oparg)) {
 | 
				
			||||||
				stack_pointer += oparg;
 | 
									STACKADJ(oparg);
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				/* unpack_iterable() raised an exception */
 | 
									/* unpack_iterable() raised an exception */
 | 
				
			||||||
				why = WHY_EXCEPTION;
 | 
									why = WHY_EXCEPTION;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue