Lines Matching defs:code
1 /* Execute compiled code */
1244 the-optimization-commonly-but-improperly-known-as-"threaded code"
1256 "Threaded code" in contrast, uses an explicit jump table and an explicit
1268 At the time of this writing, the "threaded code" version is up to 15-20%
1388 predict the second code when the first is run. For example,
1406 Opcode prediction is disabled with threaded code, since the latter allows
1480 accessed by other code (e.g. a __del__ method or gc.collect()) and the
1570 to a code block. Its return value, if not
1572 the start of each executed line of code.
1648 // opcode is an 8-bit value to improve the code generated by MSVC
1687 * These are cached values from the frame and code object. */
2248 PyCodeObject *code = (PyCodeObject *)getitem->func_code;
2249 size_t size = code->co_nlocalsplus + code->co_stacksize + FRAME_SPECIALS_SIZE;
2250 assert(code->co_argcount == 2);
2258 NULL, code->co_nlocalsplus);
2262 for (int i = 2; i < code->co_nlocalsplus; i++) {
2569 /* The code below jumps to `error` if `iter` is NULL. */
4851 PyCodeObject *code = (PyCodeObject *)func->func_code;
4852 DEOPT_IF(code->co_argcount != argcount, CALL);
4863 for (int i = argcount; i < code->co_nlocalsplus; i++) {
4885 PyCodeObject *code = (PyCodeObject *)func->func_code;
4886 DEOPT_IF(argcount > code->co_argcount, CALL);
4899 for (int i = argcount; i < code->co_argcount; i++) {
4905 for (int i = code->co_argcount; i < code->co_nlocalsplus; i++) {
6087 get_exception_handler(PyCodeObject *code, int index, int *level, int *handler, int *lasti)
6089 unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
6090 unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
6368 PyCodeObject * code = (PyCodeObject *)func->func_code;
6369 size_t size = code->co_nlocalsplus + code->co_stacksize + FRAME_SPECIALS_SIZE;
6375 _PyFrame_InitializeSpecials(frame, func, locals, code->co_nlocalsplus);
6377 for (int i = 0; i < code->co_nlocalsplus; i++) {
6835 PyCodeObject *code = frame->f_code;
6836 if (trace_info->code != code) {
6837 trace_info->code = code;
6838 _PyCode_InitAddressRange(code, &trace_info->bounds);
7889 PyCodeObject *code = frame->f_code;
7890 filename = PyUnicode_AsUTF8(code->co_filename);
7891 funcname = PyUnicode_AsUTF8(code->co_name);
7904 PyCodeObject *code = frame->f_code;
7905 filename = PyUnicode_AsUTF8(code->co_filename);
7906 funcname = PyUnicode_AsUTF8(code->co_name);