Source

pypy / pypy / translator / cli / database.py

Author Commit Message Labels Comments Date
Antonio Cuni
use the correct tuple types in the cli backend; test_builtin passes again
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
Antonio Cuni
make sure we can mix the result of classof(cliClass) and classof(FUNCTYPE)
Antonio Cuni
another horrible hack to allow classof(FUNCTYPE). That's needed because in the JIT we really need to know the .NET type of StaticMethods.
Armin Rigo
Finish the merge of the pypy-more-rtti-inprogress branch. Delete the branches.
Antonio Cuni
- Handle correctly circular dependencies when inspecting System.Type - Assert that box() can't throw any exception - Mangle also square brackets when constructing the Record name.
Antonio Cuni
A failing test and the relative bug fix.
nikomatsakis
Next iteration of unified JVM/CLI constant support. In this version, the CLI code uses the same constant code as JVM, but the CLI has its own version of the methods which generate bytecode. Final iteration is to remove those methods by implementing them generically in oosupport and implementing the required methods in the "metavm" generator interface. Towards that end, this check-in also includes a "CLIBaseGenerator" class that includes most of the metavm generator implementation, but not those parts that are specific to a particular function (like loading a variable). All tests continue to pass in CLI and JS on my machine.
Carl Friedrich Bolz
move objectmodel
Antonio Cuni
Use None instead of dotnet.Null for representing the "null" value when calling native methods. This has the advantage that it works out of the box with pythonnet.
Antonio Cuni
(antocuni, niko) Refactor of oosupport so that gencli, genjs and (later) genjvm can share more code.
Antonio Cuni
Initial support for passing Null value to native .NET methods.
Antonio Cuni
Second attempt to ".NET-types". The implementation is quite simple because it reuses most of the logic from ootype.
Antonio Cuni
Implemented ll_time_sleep. Inserted a lot of stubs for not yet implemented ll_os functions.
Antonio Cuni
Added another way of rendering constants: instead of being stored as static fields, they are stored as instance fields of a Singleton. After the first run the singleton is serialized to disk. Next runs will initialize contants by reading that file.
Antonio Cuni
Refactored the way constants are generated, so that it's easier to experiment with new approaches.
Antonio Cuni
Lazy initialization doesn't work with the whole interpreter, disable it for now.
Antonio Cuni
When using lazyness there can be a problem when initializing a constant whose items contains r_dicts containing the constants itself, because ll_set could try to access fields not yet intitialized. For now simply initialize the r_dict at last, but we should think a more general way to handle things.
Antonio Cuni
Added support for lazy-initialized constants. Tests seem to pass, not sure it's completely bug-free.
Armin Rigo
Massive untabify.
Antonio Cuni
Added support for inline constants. Inline constants are not stored as static fields of the Constant class, but they are computed every time they are needed. By now null instances and constants of type Class are inlined. Moreover, add the beforefieldinit flag to the Constants class because it saves some seconds in pypy startup time.
Antonio Cuni
Preallocate constant Lists with the exact size when doing constant initialization. The pypy startup time on snake has passed from 17.7 to 11.8 secs (!!).
Antonio Cuni
typo
Antonio Cuni
Record some statistics about constants when generating the source.
Antonio Cuni
bugfix.
Maciej Fijalkowski
Added support for CDefinedIntSymbolic, right now as static lookup table. Should be moved to some kind of #define's for ilasm (howto do that?). At least tests passes.
Antonio Cuni
oops... forgot to remove the warning.
Antonio Cuni
Workaround for a Mono bug which prevents to call set_Target() on WeakReferences.
Antonio Cuni
oops... the pending_function modify was forgotten from previous checkin. Simple optimization for constant list of zeroes: it sufficient to only resize them to the correct size, because the default value is already zero.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. Next