1. Jasper St. Pierre
  2. pypy-avm

Commits

Show all
Author Commit Message Date Builds
Armin Rigo
Fix test.
Armin Rigo
Fix.
Armin Rigo
Adapt the _immutable_ and _immutable_fields_ hints left and right. I think this branch is now ready to be merged, if it passes all tests.
Armin Rigo
Revert d5dd9462363a on model.py. I'm unsure why, but it seems that all tests are happily working now...
Armin Rigo
merge heads
Armin Rigo
Finish adapting to out-of-line-guards-2.
Armin Rigo
Add a marker '<====' on the first line containing the difference.
Armin Rigo
Fix for the new ABORT_FORCE_QUASIIMMUT.
Armin Rigo
Turn on CodeWriter.debug in the tests, printing the jitcodes.
Armin Rigo
Correction: this test is not passing. Skip it for now, think about it later if the issue arises within pypy...
Armin Rigo
Updates to test_pypy_c_new.
Armin Rigo
Updates to pypyjit.
Armin Rigo
Another passing test
Armin Rigo
!@$%^&@#!
Armin Rigo
Oups.
Armin Rigo
- More tests. - Adapt pypyjit to turn on CodeWriter.debug, producing files in usession-*/jitcodes/.
Armin Rigo
merge heads
Armin Rigo
Fix some tests. Next is test_range_iter, which shows unexpected extra getarrayitem_gc's.
Armin Rigo
Bah. An issue with py.test error reporting is that if these return generators, then they are exhausted by the time it does assert re-evaluation, and we get confusing messages. (I know it's ultimately my own fault, not blaming anyone else here :-)
Armin Rigo
Trying out some more _immutable_ hints, some using quasi-immutable fields.
Armin Rigo
Revert the introduction of the class Defaults in function.py (manually, so I hope I didn't forget anything). Replace it with the single line: _immutable_fields_ = ['defs?[*]']
Armin Rigo
Implement quasi-immutable fields which contain immutable lists, defined with _immutable_fields_ = ['foo?[*]']. It actually means that 'foo' is a regular quasi-immutable field, and that all list accesses we do directly by 'obj.foo[index]' are supposed to read the **immutable** content of the list. The content of the list is not itself quasi-immutable. Hence the precise notation: 'lst?[*]', and not 'lst[*]?'.
Armin Rigo
Remove the restriction that a setfield(quasiimmut) should not be seen during tracing. Instead, it is seen, together with the jit_force_quasi_immutable just before, which is now implemented in the tracer and in the blackhole interp. See comment in opimpl_jit_force_quasi_immutable().
Armin Rigo
An extra passing test.
Armin Rigo
Add a comment describing the implicit assumptions made by this logic.
Armin Rigo
The test fails on x86-64. Fix. (How did it ever works, etc.)
Armin Rigo
Write a direct backend test for GUARD_NOT_INVALIDATED.
Armin Rigo
- Improve a bit the tests. - Kill old tests.
Armin Rigo
Minor simplification.
Armin Rigo
Translation fix.
  1. Prev
  2. Next