Home
last modified time | relevance | path

Searched refs:LOAD_CONST (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Python/
Dpeephole.c47 assert(codestr[i*3] == LOAD_CONST); in tuple_of_constants()
72 codestr[n*3] = LOAD_CONST; in tuple_of_constants()
96 assert(codestr[0] == LOAD_CONST); in fold_binops_on_constants()
97 assert(codestr[3] == LOAD_CONST); in fold_binops_on_constants()
184 codestr[4] = LOAD_CONST; in fold_binops_on_constants()
198 assert(codestr[0] == LOAD_CONST); in fold_unaryops_on_constants()
237 codestr[1] = LOAD_CONST; in fold_unaryops_on_constants()
409 codestr[i] = LOAD_CONST; in PyCode_Optimize()
417 case LOAD_CONST: in PyCode_Optimize()
447 assert(codestr[i] == LOAD_CONST); in PyCode_Optimize()
[all …]
Dcompile.c838 case LOAD_CONST: in opcode_stack_effect()
1264 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure()
1299 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure()
1408 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class()
1772 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_try_finally()
1926 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_import()
1928 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_import()
2001 ADDOP_O(c, LOAD_CONST, level, consts); in compiler_from_import()
2003 ADDOP_O(c, LOAD_CONST, names, consts); in compiler_from_import()
2093 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt()
[all …]
Dceval.c1227 TARGET(LOAD_CONST) in PyEval_EvalFrameEx()
/external/python/cpython2/Objects/
Dlnotab_notes.txt92 3 9 LOAD_CONST 1 (1)
99 6 18 LOAD_CONST 2 (2)
101 >> 22 LOAD_CONST 0 (None)
/external/python/cpython2/Include/
Dopcode.h107 #define LOAD_CONST 100 /* Index in const list */ macro
/external/python/cpython2/Lib/
Dmodulefinder.py18 LOAD_CONST = dis.opmap['LOAD_CONST'] variable
373 and opargs[i-1][0] == LOAD_CONST):
390 and opargs[i-1][0] == opargs[i-2][0] == LOAD_CONST):
/external/python/cpython2/Doc/library/
Ddis.rst629 .. opcode:: LOAD_CONST (consti)