1. chen ce
  2. pypy

Commits

Show all
Author Commit Message Date Builds
Ronan Lamy
Allow const-folding of inner functions * Implement FlowSpaceFrame.MAKE_FUNCTION * Add tests * Don't wrap code constants in HostCode
Ronan Lamy
Remove HostCode.magic and simplify WITH_CLEANUP
Ronan Lamy
Kill unused attribute HostCode.hidden_applevel
Ronan Lamy
Remove now unused attribute HostCode.space
Ronan Lamy
Don't derive HostCode from PyCode. * Make HostCode.signature an ordinary attribute instead of a method. * Add HostCode.formalargcount property, replacing .getformalargcount().
Ronan Lamy
Don't wrap objects inside HostCode HostCode attributes could only contain Constants, not Variables, so that wrapping and unwrapping was always trivial and can therefore be skipped.
Ronan Lamy
Copy and adapt PyCode._from_code() into HostCode
Ronan Lamy
Kill unused attr PyGraph.is_generator
Ronan Lamy
Don't build the flow graph when bootstrapping generator graphs + Split tweak_generator_graph()
Ronan Lamy
Kill option tweak_for_generator
Ronan Lamy
Fix PyGraph.name
Ronan Lamy
Move pypy.interpreter.generator to flow space
Ronan Lamy
Instantiate HostCode and PyGraph outside FSFrame
Ronan Lamy
Extract graph init into a new class PyGraph
Ronan Lamy
Move frame state initialisation to _init_graph() This will allow the graph to be created before the frame
Ronan Lamy
Test cellvar handling
Ronan Lamy
Split FrameState.nonmergeable into blocklist and next_instr
Ronan Lamy
Record join points at the end of the bytecode, instead of the beginning of the next one. * Kill BlockRecorder.enterspamblock and .bytecode_trace() * Rename BlockRecorder.last_join_points to .final_state
Ronan Lamy
Give names to variables after build_flow(), not within it
Ronan Lamy
Simplify control flow in FSFrame.mergeblock()
Ronan Lamy
Let handle_bytecode() handle a single bytecode
Ronan Lamy
FSFrame: consolidate locals_stack_w init into .init_locals_stack() FSFrame doesn't use PyFrame.setfastscope() any more.
Ronan Lamy
Implement FlowSpaceFrame.cells initialisation in HostCode
Ronan Lamy
rm unused argument 'constargs'
Ronan Lamy
merge default
Ronan Lamy
merge translation-cleanup
Alex Gaynor
Some style cleanups.
Ronan Lamy
Cleanup imports in pypy/objspace/flow/
Ronan Lamy
Replace constant instance attributes of FlowObjSpace with class attributes. This makes FlowObjSpace.__init__() trivial.
Ronan Lamy
FlowObjSpace ctor doesn't take a config argument any more
  1. Prev
  2. Next