Source

pypy / pypy / interpreter / astcompiler / assemble.py

Author Commit Message Labels Comments Date
Armin Rigo
issue1253 testing Remove from the AST compiler the (apparently) only two places that recurse on basic blocks.
Maciej Fijalkowski
backout aa9406870803
Branches
virtual-arguments
Maciej Fijalkowski
another one
Branches
virtual-arguments
Armin Rigo
(arigo, antocuni): a branch where to try to refactor how the valuestack is handled inside finally: block. Right now two dummy Nones values are always pushed to be popped() and ignored immediately after. Also, it prevent to implement POP_EXCEPT sanely on py3k
Branches
sanitize-finally-stack
Maciej Fijalkowski
look how list comprehension can be sped up
Branches
speedup-list-comprehension
Carl Friedrich Bolz
kill CALL_LIKELY_BUILTIN, it was not really worth the hassle any more.
Branches
dict-strategies
Benjamin Peterson
bumping the extended_arg_count is not equivalent to reresolving jump targets This should fix issue #713.
Amaury Forgeot d'Arc
Move float/double related code from rarithmetic.py to rfloat.py
Branches
move-rfloat
Armin Rigo
Remove code that the compiler attempt to put in a basic block after a RETURN_VALUE statement. Such code would be dead. It should be enough to pass test_peepholer, hopefully.
Alex Gaynor
Added space.len_w which is a shortcut for space.int_w(space.len(w_obj))
Armin Rigo
(lac, arigo) Merge the cmath branch, implementing cmath at interp-level.
Amaury Forgeot d'Arc
Fix the "peepholer" optimization: the size of the code changes, offsets must be computed again.
Amaury Forgeot d'Arc
A peepoler optimization: a JUMP to RETURN becomes a RETURN.
Armin Rigo
(lac, arigo) Fix the detection of 0.0 vs -0.0, and more generally of nested tuples.
Branches
cmath
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Alex Gaynor
FIx CALL_FUNCTION and family effect on stack.
Alex Gaynor
Merged call-method-kwarg into trunk. The optimized CALL_METHOD opcode is now used for calls with keyword arguments.
Benjamin Peterson
merge from trunk
Branches
fast-forward
Benjamin Peterson
don't mix -0.0 and 0.0 in complex or float cases
Branches
fast-forward
Benjamin Peterson
use the more efficient STORE_MAP for dict literals
Branches
fast-forward
Benjamin Peterson
breathe life into dict and set comprehensions
Branches
fast-forward
Benjamin Peterson
implement SETUP_WITH opcode
Branches
fast-forward
Benjamin Peterson
switch to 2.7 bytecode
Branches
fast-forward
Benjamin Peterson
remove extra quote