- 22 May, 2015 20 commits
-
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Kevin Modzelewski authored
Perf investigations
-
Kevin Modzelewski authored
The issue is that sometimes we want to test out using builds that wouldn't be able to self-host the libraries that the build system thinks we need. So, add a flag to just not build those.
-
Kevin Modzelewski authored
I think this only matters if we knew the type at JIT time.
-
Kevin Modzelewski authored
also, improve the annotator
-
Kevin Modzelewski authored
Add alloc stats to the base Box::operator new(), which is where non-builtin types get allocated. Also add stats for non-Python allocations (typically, conservative memory); turns out that we are allocating a lot of conservative memory (both in terms of allocations but also in terms of allocation size) for dicts.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Hopefully this makes it more clear which stats are subsets of others, and which ones should add up to other ones. ex it was easy to think that "rewriter_attempts" succeeded as long as "rewriter_aborts" didn't get incremented, but it could also not have gotten started, etc. Here's an example of the new stats: ic_attempts: 1724625 ic_attempts_nopatch: 1306007 ic_attempts_skipped: 404969 ic_attempts_skipped_megamorphic: 85558 ic_attempts_successful: 13649 ic_rewrites: 13649 ic_rewrites_aborted: 3248 ic_rewrites_aborted_assemblyfail: 65 ic_rewrites_committed: 10401
-
Kevin Modzelewski authored
implement float.hex and float.fromhex
-
Kevin Modzelewski authored
remove the llvm::StringRef from BoxedString
-
Kevin Modzelewski authored
support arg unpacking
-
- 21 May, 2015 2 commits
-
-
Kevin Modzelewski authored
tracebacks, struct.pack
-
Kevin Modzelewski authored
The struct module just defers to PyLong_As* methods, so the actual change here is improving our implementation of _PyLong_AsByteArray, to add - overflow and underflow checking - twos-complement conversion (mpz_export ignores the sign) - endianness
-
- 20 May, 2015 3 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Now that we have frame support including f_back, we can use the cpython implementations of these functions. We don't have the same traceback objects (don't have tb_frame or tb_next), so there are still some modifications to the traceback library.
-
Kevin Modzelewski authored
Copy all HAVE_FOO defines from cpython
-
- 19 May, 2015 14 commits
-
-
Kevin Modzelewski authored
Previously we were only copying them when we noticed they were needed, but we've been spending a fair bit of time hunting down issues that are caused by a missing HAVE_ define. So instead, bulk-copy the ones that the CPython configure script determined. I bet we'll start running into some that were available on my 14.04 machine but won't be on other configurations; I'm hoping that an extra define is easier to debug than a missing one (build error vs run error), making this the better approach.
-
Kevin Modzelewski authored
Add full_check and fix a couple misc things
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add PyWrapperDescr_Type, allow cls->tp_descr_get, allow overwriting attributes inside PyType_Ready
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Add support for compile('single') and func.__globals__/func.func_globals
-
Kevin Modzelewski authored
fix linter to allow comments after includes
-
Kevin Modzelewski authored
When loading a shared library let the GC know about the static variables
-
Kevin Modzelewski authored
Add PyClass_New, PyMethod_New, capifunc.__module__, missing gc handles, file.truncate
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Fix `exec s in other_module`
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
the ast interpreter would incorrectly think it could OSR out to the JIT, which would barf.
-
- 18 May, 2015 1 commit
-
-
Kevin Modzelewski authored
Mostly related to handling of building shared-library dependencies. The current system is getting pretty messy, of which libraries (test extension built for pyston/cpython, sharedmods) are pulled from which builds (source directory vs cmake directory) in which modes (check_ vs run_). This commit doesn't change the actual functionality but tries to just make it clearer what is getting built when. (also fixes a missing dependency)
-