Branches

Opcode-class

View source
Opcode-class
  • Contributors
    1. Loading...
Author Commit Message Labels Comments Date
250+ commits behind default.
Ronan Lamy
kill dead code
Ronan Lamy
Remove unnecessary guard The special case in space.setitem was never actually executed, since frame.w_globals is never modified directly and other ways of accessing globals() don't return the frame.w_globals object.
Ronan Lamy
Resolve names at decoding time
Ronan Lamy
Resolve LOAD_CONST constants at decoding time
Ronan Lamy
Decode the bytecode up-front
Ronan Lamy
Create HostCode.disassemble()
Ronan Lamy
Create @register_opcode
Ronan Lamy
Add hook to customize opcode decoding
Ronan Lamy
Implement registration of opcode classes
Ronan Lamy
Deal with FSFrame.last_instr a bit more explicitly
Ronan Lamy
Kill next_instr argument in FSFrame.OPCODE methods
Ronan Lamy
Create Opcode class
Ronan Lamy
Create exc_wrap()
Ronan Lamy
Clean up exc_from_raise()
Ronan Lamy
Merge FSFrame.record() into .do_operation()
Ronan Lamy
Simplify record_block() setup. Kill FSFrame.recording() and dispatch its logic to Block methods.
Ronan Lamy
Extract record_block() from FSFrame.build_flow()
Ronan Lamy
Replace unwrap_for_computation() with Constant.foldable()
Ronan Lamy
Simplify flowspace op creation
Ronan Lamy
This branch introduces an Opcode class to deal with decoding bytecode in rpython.flowspace in a more object-oriented way.