Commits

Author Commit Message Labels Comments Date
Hakan Ardo
dissable for now, it makes test_convert_from_SmallFunctionSetPBCRepr_to_FunctionsPBCRep fail
Hakan Ardo
corner case not handled very well
Hakan Ardo
test short preamble and non constant case aswell
Hakan Ardo
interning ints aswell
Armin Rigo
Improve targetdemo.
Branches
stm
Armin Rigo
merge heads
Armin Rigo
Add tests for two special cases of "MOV" in INSN().
Armin Rigo
- add in the backend, for binary instructions, a memo function that returns True if there is any NAME_xy that could match. If it returns False we know the whole subcase can be omitted from translated code. Without this hack, the size of most _binaryop INSN functions ends up quite large in C code. - found out that a lot of instructions have a missing case on 64 bits, because INSN_m used to fall back to INSN_a if the constant offset doesn't fit in 32 bits --- but most instructions that have an 'm' form don't have an 'a' form. Fixed by generating an extra LEA and not falling back to the 'a' form. - location_code() is an indirect method call for no really good reason. Turn it int…
mattip
fixes for translation
Branches
numpy-multidim
Alex Gaynor
don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized
Alex Gaynor
don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized
Branches
list-strategies
Alex Gaynor
When using a string list-strategy have the same behavior on str.join with one element lists.
Branches
list-strategies
edelsohn
Use rlwinm for PPC32 zero-extend
Branches
ppc-jit-backend
Hakan Ardo
hg merge
Hakan Ardo
hg merge
Hakan Ardo
failing test
Carl Friedrich Bolz
don't encode exact offsets
Branches
list-strategies
Carl Friedrich Bolz
implement a fast path for list.pop() (without arguments)
Branches
list-strategies
Armin Rigo
Found the cause of the failure of test_nongc_attached_to_gc in test_newgc: we forgot to add the surviving objects from young_objects_with_light_finalizers to the old version of that list. Fix the test and re-enable light finalizers with minimark.
Armin Rigo
Move these imports to a place where they will only be triggered if we are configured to use them.
Armin Rigo
Do the imports only if the config option is set.
Armin Rigo
merge heads
Armin Rigo
Clean up: min() is now RPython.
Alex Gaynor
Create 2 versions of GeneratorIterator.unpack_into, one which takes a W_ListObject and one which takes an RPython list. This is to allow unwrapped lists to be built from generators with intermediaries (and to fix a translation error).
Branches
list-strategies
Carl Friedrich Bolz
remove some C-isms
Armin Rigo
Try never to crash when inspect.getsource() fails.
Alex Gaynor
Merged default in, resolved merge conflicts (involved removing an optimization that had been done in a different way on default).
Branches
list-strategies
Armin Rigo
Accept py.test.skip()'s exception as also meaning "skip this package" here.
Armin Rigo
Skip if we on't have curses.
Armin Rigo
Windows fix.
  1. Prev
  2. Next