- 08 Sep, 2016 3 commits
-
-
Kevin Modzelewski authored
Switch to CPython way to build standard C extensions.
-
Marius Wachtler authored
Merge AST/BST work into master
-
Marius Wachtler authored
AST: deallocate nodes
-
- 07 Sep, 2016 8 commits
-
-
Marius Wachtler authored
Use a bumpptr allocator to keep track of the AST nodes. I could not use the LLVM one because it does not call the destructor on allocated elements.
-
Marius Wachtler authored
AST & BST: remove unnecessary nodes and fields + little less memory usage
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Boxiang Sun authored
Disable some extensions, part of because they were handled by from_cpython/CMakefile.txt, part of beacuase we need to enable it in seperated PR. Such as tk extension. And also add some modifications to let extension can find the source code in correct path.
-
Boxiang Sun authored
-
Kevin Modzelewski authored
Some minor improvements from the metaserver branch
-
- 06 Sep, 2016 9 commits
-
-
Kevin Modzelewski authored
We mostly did a good job of picking flags that CPython doesn't use (or at least, that its manpage doesn't advertise), but there are a couple that need to be changed. One is for TRAP which is a feature I don't even remember anymore, so that's removed. The other is for stats -- '-s' is now changed to '-T'. This will be annoying to change on the perf-tracking side.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This reverts commit 111ca525.
-
Kevin Modzelewski authored
BST: a bytecode-like AST
-
Kevin Modzelewski authored
And make BST_arguments a bit safer by removing misleading fields.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
And remove some extraneous things from bst
-
- 05 Sep, 2016 2 commits
-
-
Marius Wachtler authored
fix a bug where compare could ignore CAPI exceptions and add _heapq
-
Marius Wachtler authored
-
- 02 Sep, 2016 9 commits
-
-
Kevin Modzelewski authored
A bunch of function metadata refactorings
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
since this is where it's supposed to live. The function ctor copies these fields from the code object.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Instead, merge it into BoxedCode. This way we'll get refcounting of our codegen datastructures. I didn't do anything more than inline all of FunctionMetadata's fields into BoxedCode, and then delete the FunctionMetadata object.
-
Kevin Modzelewski authored
Revert "Merge pull request #1349 from kmod/scoping"
-
- 01 Sep, 2016 7 commits
-
-
Kevin Modzelewski authored
This reverts commit 2783ab4e, reversing changes made to ea8890e8.
-
Marius Wachtler authored
Let Pyston compatible with GCC 5.x
-
Boxiang Sun authored
I think we don't need libunwind to generate doc. And libunwind will call latex2man and pdflatex to generate its doc. And this can not be disabled through command line. Please see here: https://bugzilla.mozilla.org/show_bug.cgi?id=738302
-
Boxiang Sun authored
When update to gcc 5.4, it complain there has no has_trivial_copy_constructor, please see here: http://www.chpc-tech.com/EN/NewDevelopments/2015/15.04.23.gcc5.1.html So use standard c++ 11 type traits.
-
Boxiang Sun authored
GCC 5.4 will report those type castings are not legal.
-
Kevin Modzelewski authored
Create all FunctionMetadatas for a module at once
-
Kevin Modzelewski authored
There are a bunch of interrelated changes in here that I couldn't really separate out. Mostly the relate to saving data on the AST nodes: we store DerefInfo and closure info on the Name nodes, and store FunctionMetadata objects on AST nodes that create scopes. And those FunctionMetadata objects now also store "ScopingResults", which is only the results from the ScopeInfo objects, not all the extra info those keep around in order to do deferred analysis. Once all this extra data is precomputed+stored, we can start freeing the ScopingAnalysis objects and all the related ScopeInfos. Future work: - Name node shouldn't store scoing info; this should be embedded in choice of BST nodes - Do pyc caching post-CFG - Memory management. - Continue to clean this all up. I layered this change on top of the existing scoping and cfg systems, which reduced the amount of changes, but means that there is a potentially-unnecessary layer in the middle now.
-
- 31 Aug, 2016 2 commits
-
-
Marius Wachtler authored
microptimizations: use DEFAULT_CLASS_SIMPLE, non gc code object, fewer handleFrameExit calls
-
Marius Wachtler authored
-