1. Kaique Silva
  2. pypy

Commits

Show all
Author Commit Message Date Builds
Ronan Lamy
Kill FlowEC.w_globals FlowExecutionContext doesn't really need this attribute, but the frame does, so store it there only.
Ronan Lamy
Move code from FlowEC.build_flow() to FlowSpaceFrame.__init__()
Ronan Lamy
Kill p.o.f.operation.special_overrides() Define the methods directly inside FlowObjSpace instead. In the case of getattr, this causes a bit of code duplication, but that's better than crazy monkey-patching.
Ronan Lamy
Reuse the same frame through the life of build_flow()
Ronan Lamy
Replace block.patchframe(frame) with frame.recording(block)
Ronan Lamy
Merge code into FlowExecutionContext.build_flow() Inline .__init__(), .create_frame() and .produce_generator_mark()
Ronan Lamy
Split off _init_graph() from FlowExecutionContext.__init__()
Ronan Lamy
Simplify FrameState constructor Use frame.getstate() to save the state of the frame instead of the ctor.
Ronan Lamy
Replace FrameState.restoreframe() with FlowSpaceFrame.setstate()
Ronan Lamy
Refactor FlowExecutionContext.__init__ Push code down from FlowObjSpace.build_flow() to FlowExecutionContext. This is safe as these objects are only ever instantiated from there, and puts all flow graph initialisation code closer together.
Ronan Lamy
Remove obsolete helper
Ronan Lamy
Simplify special case setup in FlowObjSpace * Remove specialcase.setup() and put the special case mapping in a constant dict instead. * Remove trivial helper FlowObjSpace.setup_executioncontext()
Armin Rigo
merge heads
Armin Rigo
Swap the operands of CMOVNS to match the Intel order used everywhere else in the backend. Remove the skip in test_rx86_32_auto_encoding.
David Schneider
add a backend test for int_force_ge_zero
David Schneider
merge heads
David Schneider
invert logic to use -rt, because it also doesn't work on mac os
Armin Rigo
Improve the test: checks that at least 500 recursion levels work.
Alex Gaynor
Add function.__globals__ as an alias for func_globals, CPython had no tests for this :(
Alex Gaynor
Make iterating over generators work (super easy!)
David Schneider
merge heads
David Schneider
(stepahn, bivab) check for objdump and gobjdump (for OSX, as provided by port and homebrew binutils package) and raise an error neither is available
Armin Rigo
Python 2.5 compat
Armin Rigo
Clean-ups and comments.
Armin Rigo
Minor improvement maybe: replace "ADD reg, const" and "SUB reg, const" with a LEA. The idea is that LEA is more flexible because it can name a destination register != source register.
Armin Rigo
If "see_function" is False, don't call contains_unsupported_variable_type(). The result is going to be False anyway. Avoids getting warnings if we mark a function @jit.dont_look_inside because it manipulates unsupported types.
Armin Rigo
Workaround to make test_repr_16bits pass, from test_unicodeobject.py, on top of a 16-bit hosting CPython. Running py.py or py.test on top of a 16-bit-wide hosting CPython is still not perfect and will probably never be.
Armin Rigo
Add the (undocumented & untested) attribute 'name' on the hash objects.
wlav
linking example code did not work as expected; use alternative
wlav
merge reflex-support into default
  1. Prev
  2. Next