Searched refs:stack_effect (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test__opcode.py | 10 self.assertEqual(_opcode.stack_effect(dis.opmap['POP_TOP']), -1) 11 self.assertEqual(_opcode.stack_effect(dis.opmap['DUP_TOP_TWO']), 2) 12 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 0), -1) 13 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 1), -1) 14 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 3), -2) 15 self.assertRaises(ValueError, _opcode.stack_effect, 30000) 16 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['BUILD_SLICE']) 17 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['POP_TOP'], 0)
|
/external/python/cpython3/Lib/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/external/v8/src/wasm/ |
D | wasm-interpreter.cc | 780 auto stack_effect = in SideTable() local 783 WasmOpcodes::OpcodeName(opcode), stack_height, stack_effect.first, in SideTable() 784 stack_effect.second); in SideTable() 785 DCHECK_GE(stack_height, stack_effect.first); in SideTable() 787 stack_effect.first + stack_effect.second); in SideTable() 788 stack_height = stack_height - stack_effect.first + stack_effect.second; in SideTable() 2138 std::pair<uint32_t, uint32_t> stack_effect = in Execute() local 2142 StackHeight() - stack_effect.first + stack_effect.second; in Execute()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 47 Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu
|
D | 3.7.0a1.rst | 757 Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu
|
/external/python/cpython3/Python/ |
D | compile.c | 876 stack_effect(int opcode, int oparg, int jump) in stack_effect() function 1128 return stack_effect(opcode, oparg, -1); in PyCompile_OpcodeStackEffect() 5029 int effect = stack_effect(instr->i_opcode, instr->i_oparg, 0); in stackdepth() 5040 effect = stack_effect(instr->i_opcode, instr->i_oparg, 1); in stackdepth()
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 251 .. function:: stack_effect(opcode, [oparg])
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 770 New function :func:`~dis.stack_effect` computes the effect on the Python stack
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3283 - Issue #19722: Added opcode.stack_effect(), which
|