Lines Matching defs:code
5 * PyCodeObject. The compiler makes several passes to build the code
9 * 3. Generate code for basic blocks. See compiler_mod() in this file.
10 * 4. Assemble the basic blocks into final code. See assemble() in
12 * 5. Optimize the byte code (peephole optimizations).
296 /* The following items change on entry and exit of code blocks.
1487 it in the C code (like Python/ceval.c).
1645 * token in the source code. */
2295 "freevars of code %S: %R",
2471 The expressions are evaluated out-of-order wrt the source code.
2706 /* ultimately generate code for:
2717 /* 1. compile the class body into a code object */
2748 /* The following code is artificial */
2773 /* create the code object */
2785 /* 3. load a function (or closure) made from the code object */
2795 /* 5. generate the rest of the code for the call */
3322 <code for body>
3324 <code for finalbody>
3327 <code for finalbody>
3457 [] <code for S>
3465 [] <code for S1>
3615 [] <code for S>
3631 [orig, res, rest] <code for S1>
4888 /* Alright, we can optimize the code. */
5098 /* shared code between compiler_call and compiler_class */
5241 /* generate code for the iterator, then each of the ifs,
5314 /* comprehension specific code */
5409 /* comprehension specific code */
5691 /* BLOCK code */
5735 <code for EXPR>
5737 <code to store to VAR> or POP_TOP
5738 <code for BLOCK>
5788 /* BLOCK code */
5794 /* Mark all following code as artificial */
6820 // that the final code is as efficient as possible.
7196 assert(depth >= 0); /* invalid code or bug in stackdepth() */
7204 assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
7215 /* remaining code is dead */
7525 /* Code location emitting code. See locations.md for a description of the format. */
7545 write_location_first_byte(struct assembler* a, int code, int length)
7548 location_pointer(a), code, length);
7682 _Py_CODEUNIT *code;
7691 code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset;
7693 write_instr(code, i, size);
8034 .code = a->a_bytecode,
8461 /* Emit code. */
8697 // - can't invoke arbitrary code (besides finalizers)
8926 Arises in code like:
9290 All transformations keep the code size the same or smaller.
9447 PyCode_Optimize(PyObject *code, PyObject* Py_UNUSED(consts),
9450 Py_INCREF(code);
9451 return code;