Source

pypy / pypy / translator / cli / function.py

Author Commit Message Labels Comments Date
Antonio Cuni
put all oonewcustomdict operations into its own function and mark it as dont_look_inside, so that the jit does not need to know about custom dicts
Antonio Cuni
ugly workaround to make the exceptiontranformer work with .NET valuetypes
Antonio Cuni
this is needed to compile JIT tests to CLI. I couldn't find a simple way to produce a graph that triggers the bug though :-/
Antonio Cuni
merge back the changes that have been made in trunk and pyjitpl5 since oo-jit was branched svn merge svn+ssh://codespeak.net/svn/pypy/branch/pyjitpl5/pypy/translator/cli@64796 -r54016:64784 ------------------------------------------------------------------------ r54017 | cfbolz | 2008-04-22 17:04:17 +0200 (Tue, 22 Apr 2008) | 2 lines Changed paths: A /pypy/branch/2.5-features (from /pypy/dist:54016) make a branch for bruno's summer of code work ------------…
Antonio Cuni
(in-progress) copy the cli backend from the oo-jit branch
Amaury Forgeot d'Arc
cli backend: the "class" keywords seems mandatory for the Microsoft compiler
Maciej Fijalkowski
(antocuni, cfbolz, fijal) - Merge the unicode-objspace branch, history below ------------------------------------------------------------------------ r48508 | cfbolz | 2007-11-10 16:14:06 +0100 (Sat, 10 Nov 2007) | 3 lines Changed paths: M /pypy/branch/unicode-objspace/pypy/objspace/std/unicodetype.py helper function for unwrapping encoding and error. will be needed in various places ------------------------------------------------------------------------ r48507 | cfb…
Antonio Cuni
prepare genjvm to use stack_optimizations, though it's disabled right now. Move the smart version of render_bool_switch from cli to oosupport, so genjvm uses it. Move the old non-smart version to js.
Antonio Cuni
use jvm's tableswitch to implement numeric switch.
Antonio Cuni
refactor how gencli represent .NET types: instead of using strings, use instances of our own class hierarchy; this add an additional layer between ootype's types and .NET types which will allow for much more flexibility in the future.
Antonio Cuni
let .NET to propagate automatically not catched exceptions. Probably this should be enabled also for genjvm.
Antonio Cuni
- test test_exception both with the native exceptions and the exception transformer - kill LastExceptionHandler
Antonio Cuni
oups... typo!
Antonio Cuni
move --trace from jvm to oosupport, and teach gencli how to use it.
Antonio Cuni
some tweaks to gencli to make exception transformer working
Antonio Cuni
- add support to driver for building libraries instead of standalone executables (i.e., allowing more than one entry-point) - first steps to write a gencli's frontend which allow to compile a rpython module to a .NET dll; the draft name is SilveRPython, suggestions are welcome :-)
Antonio Cuni
A backend optimization for gencli, which turns SSI graphs into stack-based machine friendly graphs.
Antonio Cuni
Use native .NET exception by default, else we would break the clr module.
Antonio Cuni
We reverted to the old way to handle exception by mistake.
nikomatsakis
(antocuni, niko) fix a number of errors from test_dict
Antonio Cuni
This heuristic makes much more sense. Thanks arigo.
Antonio Cuni
Make render_numeric_switch_naive backend-indipendent and move it to oosupport. Added support for *LongLong switches in gencli.
Antonio Cuni
Use the naive version of numeri_switch when one or more cases are negative.
Antonio Cuni
Now gencli (partially) supports the graphs produced by merge_if_blocks.
Antonio Cuni
Added a generic way to get unique labels inside a function, a some refactoring to use it.
Antonio Cuni
Hack to make gencli not use native .NET exceptions for the RPython ones. It is disabled by default. We need a saner way to do this, it will be removed in the future.
Antonio Cuni
bugfix needed for compiling pypy on windows.
Antonio Cuni
Added the possibility to inspect the native exception objects.
Antonio Cuni
Added support for handling native exceptions when using .NET-types. It's a bit involved because .NET exceptions don't share a common root with RPython exceptions, so we need to cheat a bit by creating a fake class that will be recognized by the backend and rendered as appropriate. This means, for example, that instead of writing something like this: try: f() except CLR.System.Exception: ... we need to create the fake object first. SystemException = Nat…
nikomatsakis
1. adapt the JVM code to the changes I made in cli/oosupport; though I checked this in before, but apparently not. 2. make the CLI constants for Records and Instances rely only upon the generic setup code in oosupport; others remain the same
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next