use stack macros

This commit is contained in:
Benjamin Peterson 2009-06-28 16:14:07 +00:00
parent b8338ab92c
commit 8f7b94eae9
1 changed files with 2 additions and 2 deletions

View File

@ -1424,7 +1424,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
case LIST_APPEND:
w = POP();
v = stack_pointer[-oparg];
v = PEEK(oparg);
err = PyList_Append(v, w);
Py_DECREF(w);
if (err == 0) {
@ -1954,7 +1954,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
}
} else if (unpack_iterable(v, oparg,
stack_pointer + oparg)) {
stack_pointer += oparg;
STACKADJ(oparg);
} else {
/* unpack_iterable() raised an exception */
why = WHY_EXCEPTION;