1. Omar Ali Fdal
  2. pypy

Commits

Show all
Author Commit Message Date Builds
Ronan Lamy
Remove unused attribute FlowSpaceFrame.builtin
Ronan Lamy
Remove concrete_mode since it's not used any more.
Ronan Lamy
Use Constants instead of pypy.interpreter Modules. sys and __builtin__ can simply be represented by Constants in flow space. There is no need to use the complex Module class from the PyPy interpreter.
Ronan Lamy
Remove ObjSpace logic from .find_global()
Ronan Lamy
Flowspacify LOAD_GLOBAL
Ronan Lamy
Remove unused cache_building_mode from flow space and kill flowcontext.ConcreteNoOp as well.
Ronan Lamy
Don't pass execution context around when it's not needed.
Ronan Lamy
Move HostCode creation inside the frame.
Ronan Lamy
Simplify import handling and support relative imports
Ronan Lamy
Flowspacify IMPORT_NAME
Ronan Lamy
Remove option FlowObjSpace.do_imports_immediately All traces of the option have been removed, imports are now always performed immediately by the flow space. NB: setting the option to False didn't seem to be actually supported.
Ronan Lamy
Kill dead function: rtype_builtin__import__
Ronan Lamy
Move parts of sc_import() to FlowObjSpace
Ronan Lamy
FSFrame: don't create locals() dict. Flow space processing effectively assumes that there is no actual locals dict, so make this explicit.
Ronan Lamy
Merge upstream
Ronan Lamy
Simplify FSFrame initialisation
Ronan Lamy
Copy all FSFrame initialisation code into the class
Ronan Lamy
Make sure that locals dict creation doesn't prevent translation * Copy some initialisation code down into FSFrame and simplify it. * Add test.
Ronan Lamy
Simplify FSFrame.handle_operation_error() * Move all handling of Op...Propagated... to handle_bytecode(). * Replace atach_tb flag with a method.
Ronan Lamy
Flowspacify IMPORT_FROM
Ronan Lamy
Move FlowObjSpace monkey-patching code to p/o/f/objspace.py This puts all FlowObjSpace code in the same file and frees operation.py from flowspace-specific code.
Ronan Lamy
Fix missing import
Ronan Lamy
Flowspacify handle_operation_error()
Ronan Lamy
dispatch_bytecode(): propagate AttributeError for missing opcodes
Ronan Lamy
Copy .handle_bytecode() into FlowSpaceFrame and let the builtin exceptions propagate in standard fashion.
Ronan Lamy
Add property HostCode.is_generator
Ronan Lamy
Move opcode decoding to new class HostCode
Ronan Lamy
Handle opcodes uniformly in FlowSpaceFrame.dispatch_bytecode() Dispatch all opcodes to a method of the frame (except EXTENDED_ARG which isn't really an opcode).
Ronan Lamy
Copy PyFrame.handle_bytecode into FlowSpaceFrame This creates significant code duplication but should allow further code refactoring.
Ronan Lamy
Remove FlowSpaceFrame.run() Put its code back into FlowExecutionContext.build_flow().
  1. Prev
  2. Next