- 07 Apr, 2015 3 commits
-
-
Kevin Modzelewski authored
The callers were assuming that the module represents the globals, which is not always true. We can currently fetch globals from the interpreter, but not the jit. We don't allow custom globals through the jit, so for now we can just return the module; I think we should be able to support the jit by adding the globals as a stackmap arg.
-
Kevin Modzelewski authored
We should be able to support them in the JIT, but do the easy thing for now. also, put the globals info on the ScopingAnalysis instead of ScopeInfo
-
Kevin Modzelewski authored
All the old prints still exist, but at -vv or even -vvv mode. The basic system is: -v mode gives information about the overall execution: what functions we run into, what things take longer than we expected, etc. -vv mode gives information about each function: the cfg, llvm ir, etc. -vvv gives information about each BB.
-
- 06 Apr, 2015 1 commit
-
-
Kevin Modzelewski authored
-
- 29 Mar, 2015 1 commit
-
-
Travis Hance authored
-
- 28 Mar, 2015 1 commit
-
-
Travis Hance authored
-
- 27 Mar, 2015 1 commit
-
-
Travis Hance authored
-
- 01 Apr, 2015 3 commits
-
-
Kevin Modzelewski authored
free generator stacks both in the destructor and when a generator exits.
-
Chris Toshok authored
we're already unmapping the redzone as part of the munmap() call. also, free the generator stack from the sending side, not from within the generator.
-
Kevin Modzelewski authored
a few changes which help out GC performance
-
- 31 Mar, 2015 8 commits
-
-
Chris Toshok authored
-
Chris Toshok authored
-
Chris Toshok authored
-
Chris Toshok authored
when looking up a child hidden class we look up the attr in the child_index map, then get the HiddenClass* from the children vector (at that index.) this speeds up GC substantially by letting us visit the range from the vector as opposed to iterating through the stringmap.
-
Chris Toshok authored
add a map-like container that keeps its values contiguous so we can use the efficient gc_visitor->visitRange.
-
Chris Toshok authored
also, don't register MAX_STACK_SIZE bytes with the GC, register INITIAL_STACK_SIZE.
-
Kevin Modzelewski authored
Somewhat tricky since it assumes __dict__ is always a dict object; I think I caught most of the places though.
-
Travis Hance authored
implemented kmod's suggestions
-
- 30 Mar, 2015 6 commits
-
-
Kevin Modzelewski authored
through syntax error when you to `del` a var stored in a closure
-
Kevin Modzelewski authored
add option to tester script to skip specified tests
-
Kevin Modzelewski authored
Conflicts: src/codegen/ast_interpreter.cpp src/runtime/types.cpp
-
Kevin Modzelewski authored
Update INSTALLING.md
-
Chris Toshok authored
-
Weng Shiwei authored
add "sudo" before apt-get It seems a typo?
-
- 28 Mar, 2015 3 commits
-
-
Chris Toshok authored
add StackRoot<> and #defines for DECREF
-
Chris Toshok authored
add a variadic template ctor that delegates to T's constructor (making things potentially a bit more compact for constructing rooted boxes)
-
Chris Toshok authored
-
- 27 Mar, 2015 7 commits
-
-
Kevin Modzelewski authored
Misc fixes for virtualenv / pip
-
Marius Wachtler authored
-
Marius Wachtler authored
+ fix a test failing because of a slightly different error message than cpython 2.7.8
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Previously we would say that they were coming from the same file as they are executed in, typically on line 1, which would give a misleading traceback saying that the module docstring threw the error. Now, do what CPython does and say that the file is "<string>", and don't display the source line. The method is pretty hacky right now, where it only makes this adjustment when generating the traceback. Instead we should probably get rid of storing the BoxedModule in the sourceinfo in the first place, and just passing around the relevant info (fn, locals, globals, etc).
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Conflicts: src/codegen/ast_interpreter.cpp src/codegen/irgen/irgenerator.cpp src/codegen/pypa-parser.cpp
-
- 26 Mar, 2015 6 commits
-
-
Kevin Modzelewski authored
in merge: - with_ctxclass_instance_attrs now succeeds due to d1387d74 - merge ~conflict in LangPrimitive opcodes
-
Kevin Modzelewski authored
Remove dbg -O and release -n configurations. Just for dev; leave Travis-CI the way it is for now.
-
Kevin Modzelewski authored
They test what happens when a weakref's referent gets collected, but I guess in certain build configurations we would keep the object alive due to some sort of different memory layout (got saved in a CSR or a stack slot that didn't get rewritten, etc). Adding some extra function calls seems to help, though it's hard to tell how reliable it is.
-
Kevin Modzelewski authored
Misc fixes for pip part 3
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Use cpythons isinstance and issubclass implementation
-