Jon Riehl
722453502c
Continued generalization of byte_flow.demo_flow_builder(), moving traversal logic into visitor function opcode_util.visit_code_args(). Modified byte_control.main() to use visit_code_args().
2013-06-06 14:08:09 -05:00
Jon Riehl
bba305774a
Moved most of llpython.tests.test_addr_flow into llpython.tests.test_byte_flow, made some modifications to various modules to facilitate proper handling of try-finally.
2013-06-05 18:52:27 -05:00
Jon Riehl
b5a15a5019
Added function to iterate through nested code objects, llpython.opcode_util.itercodeobjs(), and used it in llpython.addr_flow.
2013-06-03 19:12:19 -05:00
Jon Riehl
c890cbdd92
Attempting to improve readability of opcode value stack action map using namedtuple in llpython.opcode_util.
2013-06-03 18:00:06 -05:00
Jon Riehl
c5d95e01e1
More work on CFA for try-finally in the presence of loops.
2013-05-15 18:40:44 -05:00
Jon Riehl
d3b252531d
Updates to llpython.opcode_util to better support loop and exception control flow.
...
* Inlcuded non-argument branching opcodes in the hasjump opcode list.
* Added all the SETUP_* opcodes to the hascbranch list.
* Modified itercode() to not output the EXTENDED_ARG bytecode.
* Cleaned up extendlabels(), and made it use the hasjump opcode list uniformly.
2013-05-14 14:52:11 -05:00
Jon Riehl
6f532f164a
Working on full opcode coverage and support for exception control flow.
2013-05-14 14:52:11 -05:00
Jon Riehl
5ef00671e7
Add support for more bytecodes.
2013-05-14 14:52:11 -05:00
Jon Riehl
ffc067f852
Attempt at a fix for issue #48 .
2013-01-28 20:08:09 -06:00
Travis E. Oliphant
bbc7a4ddf0
Ready for numba/llnumba -> llvmpy/llpython
2012-11-07 12:08:32 -06:00