1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / translator / exceptiontransform.py

Author Commit Message Date Builds
Armin Rigo
hg backout 94d415eff8b4
Armin Rigo
Backout the merge of stacklet. It seems to give nonsense in non-jitted translated versions...
Armin Rigo
In-progress: kill the stackless transformer and the llops depending on it.
Branches
stacklet
Armin Rigo
Tentative: kill various pieces of code left and right handling keepalives. Now the inliner no longer inserts tons of keepalives for you (which are almost always unneeded).
Maciej Fijalkowski
Revert SpaceOperation changes, they're parked on a branch for now
Maciej Fijalkowski
make SpaceOperations consume less space by making them specialized on exact number of arguments. Saves a bit of space and a bit of time when annotating.
Amaury Forgeot d'Arc
merge from trunk
Branches
fast-forward
Benjamin Peterson
merge from trunk
Branches
fast-forward
Armin Rigo
Compile differently AssertionErrors/NotImplementedErrors in debug mode and in non-debug mode. Test and explanation.
Armin Rigo
Also crash early on NotImplementedError in debug builds.
Armin Rigo
Crash with an ll_assert() when raising an AssertionError. In lldebug builds this lets us find the location that raises AssertionError more easily.
Armin Rigo
Oups, forgot to add this method to the OOType class.
Armin Rigo
Properly revert fijal's hack. Fijal, please try to use "svn merge" or some other tool to revert, instead of using techniques that leave behind a few minor changes.
Maciej Fijalkowski
good, revert my hacks
Maciej Fijalkowski
A fix. A bit awkward if you ask me, but makes the test pass
Maciej Fijalkowski
try to do the right thing with ExitFrameWithExc. It almost works, except for the fact that it hits wrong exc block when run on top of x86 backend. IN-PROGRESS
Richard Emslie
not needed anymore
Richard Emslie
(arigo, rxe) add a comment as to why these replace operations work
Richard Emslie
(arigo, rxe) rewrite fetch/restore operations in exception transformer
Antonio Cuni
fix exceptiontransformer to work with ootype
Armin Rigo
(alexander, armin) Removed the remaining suggested primitives - the stack and stackless manipulation. We had to resolve circular imports by removing "import objspace" from pypy/objspace/flow/__init__.py. This required some other imports to be fixed. Improved the controllerentry logic for rstack.py. In translator/c/test/: it's not really possible to test stack_too_big() directly. We have other tests in test_type…
Carl Friedrich Bolz
also don't insert keepalives in the exception transformer
Armin Rigo
(arigo, cfbolz): Merge the kill-keepalives-again branch: - change the way interior pointers into structures and arrays are handled. Interior pointers are not allowed to cross function barriers any more. To achieve this, some new operations (setinteriorfield, getinteriorfield, getinteriorarraysize) are introduced - refactor the way the framework GCs are tested and move the semispace GC to the same type-saf…
Armin Rigo
Float support in the exception transformer and C backend.
Armin Rigo
Remove an unneeded dependency on ctypes.
Armin Rigo
Teach exceptiontransform about the types like rffi.USHORT.
Armin Rigo
(cfbolz, arigo) merge the cleanup-weakref branch. Weakrefs are now malloced objects on their own, and the ll code manipulates (regular) pointers to such objects.
Armin Rigo
Weakrefs for genc with Boehm.
Antonio Cuni
port exceptiontransform to ootype, step #3: exceptiontransform ported to ootype :-). Test passes, but it still does not work with gencli :-(
Antonio Cuni
port exceptiontransform to ootype, step #1: move exceptiontransform from translator/c to translator/