Inherits from
- ByteCodeMeaning: SciPy.weave.bytecodecompiler.ByteCodeMeaning
Attributes
Inherited from base classes
Method summary
- BINARY_ADD(self, pc)
- BINARY_DIVIDE(self, pc)
- BINARY_MODULO(self, pc)
- BINARY_MULTIPLY(self, pc)
- BINARY_SUBSCR(self, pc)
- BINARY_SUBTRACT(self, pc)
- BUILD_TUPLE(self, pc, count)
- CALL_FUNCTION(self, pc, argc)
- COMPARE_OP(self, pc, opname)
- FOR_LOOP(self, pc, delta)
- JUMP_ABSOLUTE(self, pc, target)
- JUMP_FORWARD(self, pc, delta)
- JUMP_IF_FALSE(self, pc, delta)
- LOAD_ATTR(self, pc, namei)
- LOAD_CONST(self, pc, consti)
- LOAD_FAST(self, pc, var_num)
- LOAD_GLOBAL(self, pc, var_num)
- POP_BLOCK(self, pc)
- POP_TOP(self, pc)
- PRINT_ITEM(self, pc)
- PRINT_NEWLINE(self, pc)
- RETURN_VALUE(self, pc)
- SETUP_LOOP(self, pc, delta)
- SET_LINENO(self, pc, lineno)
- STORE_ATTR(self, pc, namei)
- STORE_FAST(self, pc, var_num)
- STORE_GLOBAL(self, pc, var_num)
- STORE_SUBSCR(self, pc)
- __init__(self, function, signature, name = None)
- binop(self, pc, symbol)
- codeup(self, rhs, rhs_type)
- dedent(self)
- emit(self, s)
- emit_value(self, v)
- evaluate(self, pc, code)
- generate(self)
- global_info(self, var_num)
- indent(self)
- multiarg(self)
- pop(self)
- popTuple(self)
- post(self, pc, action)
- push(self, v, t)
- pushTuple(self, V, T)
- typedef_by_value(self, v)
- unique(self)
- wrapped_code(self)
Inherited from base classes
- BINARY_AND(self, pc)
- BINARY_LSHIFT(self, pc)
- BINARY_OR(self, pc)
- BINARY_POWER(self, pc)
- BINARY_RSHIFT(self, pc)
- BINARY_XOR(self, pc)
- BREAK_LOOP(self, pc)
- BUILD_CLASS(self, pc)
- BUILD_LIST(self, pc, count)
- BUILD_MAP(self, pc, zero)
- BUILD_SLICE(self, pc, argc)
- CALL_FUNCTION_KW(self, pc, argc)
- CALL_FUNCTION_VAR(self, pc, argc)
- CALL_FUNCTION_VAR_KW(self, pc, argc)
- DELETE_ATTR(self, pc, namei)
- DELETE_FAST(self, pc, var_num)
- DELETE_GLOBAL(self, pc, namei)
- DELETE_NAME(self, pc, namei)
- DELETE_SLICE_0(self, pc)
- DELETE_SLICE_1(self, pc)
- DELETE_SLICE_2(self, pc)
- DELETE_SLICE_3(self, pc)
- DELETE_SUBSCR(self, pc)
- DUP_TOP(self, pc)
- DUP_TOPX(self, pc, count)
- END_FINALLY(self, pc)
- EXEC_STMT(self, pc)
- EXTENDED_ARG(self, pc, ext)
- IMPORT_FROM(self, pc, namei)
- IMPORT_NAME(self, pc, namei)
- IMPORT_STAR(self, pc)
- INPLACE_ADD(self, pc)
- INPLACE_AND(self, pc)
- INPLACE_DIVIDE(self, pc)
- INPLACE_LSHIFT(self, pc)
- INPLACE_MODULO(self, pc)
- INPLACE_MULTIPLY(self, pc)
- INPLACE_OR(self, pc)
- INPLACE_POWER(self, pc)
- INPLACE_RSHIFT(self, pc)
- INPLACE_SUBTRACT(self, pc)
- INPLACE_XOR(self, pc)
- JUMP_IF_TRUE(self, pc, delta)
- LOAD_CLOSURE(self, pc, i)
- LOAD_DEREF(self, pc, i)
- LOAD_LOCALS(self, pc)
- LOAD_NAME(self, pc, namei)
- MAKE_CLOSURE(self, pc, argc)
- MAKE_FUNCTION(self, pc, argc)
- PRINT_EXPR(self, pc)
- PRINT_ITEM_TO(self, pc)
- PRINT_NEWLINE_TO(self, pc)
- RAISE_VARARGS(self, pc, argc)
- ROT_FOUR(self, pc)
- ROT_THREE(self, pc)
- ROT_TWO(self, pc)
- SETUP_EXCEPT(self, pc, delta)
- SETUP_FINALLY(self, pc, delta)
- SLICE_0(self, pc)
- SLICE_1(self, pc)
- SLICE_2(self, pc)
- SLICE_3(self, pc)
- STOP_CODE(self, pc)
- STORE_DEREF(self, pc, i)
- STORE_NAME(self, pc, namei)
- STORE_SLICE_0(self, pc)
- STORE_SLICE_1(self, pc)
- STORE_SLICE_2(self, pc)
- STORE_SLICE_3(self, pc)
- UNARY_CONVERT(self, pc)
- UNARY_INVERT(self, pc)
- UNARY_NEGATIVE(self, pc)
- UNARY_NOT(self, pc)
- UNARY_POSITIVE(self, pc)
- UNPACK_SEQUENCE(self, pc, count)
- cmp_op(self, opname)
- execute(self, pc, opcode, argument)
- fetch(self, pc, code)
Methods
- BINARY_ADD(self, pc)
- BINARY_DIVIDE(self, pc)
- BINARY_MODULO(self, pc)
- BINARY_MULTIPLY(self, pc)
- BINARY_SUBSCR(self, pc)
- BINARY_SUBTRACT(self, pc)
- BUILD_TUPLE(self, pc, count)
Creates a tuple consuming count items from the stack, and pushes the resulting tuple onto the stack.
- CALL_FUNCTION(self, pc, argc)
- COMPARE_OP(self, pc, opname)
- FOR_LOOP(self, pc, delta)
Iterate over a sequence. TOS is the current index, TOS1 the sequence. First, the next element is computed. If the sequence is exhausted, increment byte code counter by delta. Otherwise, push the sequence, the incremented counter, and the current item onto the stack.
- JUMP_ABSOLUTE(self, pc, target)
Set byte code counter to target.
- JUMP_FORWARD(self, pc, delta)
- JUMP_IF_FALSE(self, pc, delta)
- LOAD_ATTR(self, pc, namei)
- LOAD_CONST(self, pc, consti)
- LOAD_FAST(self, pc, var_num)
- LOAD_GLOBAL(self, pc, var_num)
- POP_BLOCK(self, pc)
Removes one block from the block stack. Per frame, there is a stack of blocks, denoting nested loops, try statements, and such.
- POP_TOP(self, pc)
- PRINT_ITEM(self, pc)
- PRINT_NEWLINE(self, pc)
- RETURN_VALUE(self, pc)
- SETUP_LOOP(self, pc, delta)
Pushes a block for a loop onto the block stack. The block spans from the current instruction with a size of delta bytes.
- SET_LINENO(self, pc, lineno)
- STORE_ATTR(self, pc, namei)
- STORE_FAST(self, pc, var_num)
- STORE_GLOBAL(self, pc, var_num)
- STORE_SUBSCR(self, pc)
- __init__(self, function, signature, name = None)
- binop(self, pc, symbol)
- codeup(self, rhs, rhs_type)
- dedent(self)
- emit(self, s)
- emit_value(self, v)
- evaluate(self, pc, code)
- generate(self)
- global_info(self, var_num)
- indent(self)
- multiarg(self)
- pop(self)
- popTuple(self)
- post(self, pc, action)
- push(self, v, t)
- pushTuple(self, V, T)
- typedef_by_value(self, v)
- unique(self)
- wrapped_code(self)
