- 08 Apr, 2016 8 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The unbound-instancemethod part of it is still failing, but I don't want to gate the rest of the test on a failure that is unrelated.
-
Kevin Modzelewski authored
ie calling an unbound instancemethod of the wrong type will result in an exception. Tricky because this shouldn't end up applying to __new__
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Where we hadn't gone through and updated the exception-catch sites to clear/hand off their owned ref appropriately.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 07 Apr, 2016 9 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Mostly, what happens if class-creation fails.
-
Kevin Modzelewski authored
add refcounting annotation to some set function
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
- 06 Apr, 2016 12 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie something like "print C().__dict__" The attrwrapper objects don't (arnd probably shouldn't) keep their underlying objects alive. Previous to this commit they would just try to access their freed underlying object and crash. With this commit, object deallocation will check if there is an attrwrapper, and if so convert it to be privately-backed.
-
Kevin Modzelewski authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
First, our implementation of slot_tp_del (what calls Python-level __del__ methods) was pretty bad -- it didn't re-incref the object to keep it alive. Then we had some issues around running destructors at shutdown. I made this section look a bit more like CPython's, but there are still differences.
-
Kevin Modzelewski authored
int positive function refcounting fixing
-
Kevin Modzelewski authored
add refcouting annotation to zip builtin function
-
- 05 Apr, 2016 11 commits
-
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie relax an assertion that doesn't quite check enough anyway.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Boxiang Sun authored
-
Kevin Modzelewski authored
Represent decref/xdecref operations as opaque functions calls. I think the ideal solution would be to add a custom llvm intrinsic, but I spent a small amount of time looking into that and had trouble figuring out how to do that. So instead, just emit them as patchpoints, and then patch them afterwards with a fixed code sequence. This commit only does this for decref/xdecref because: - they occur much more frequently - they are much more expensive to jit since they involve control flow - forcing the op to fit a C-calling-convention isn't that much overhead, since the register allocator probably would have done that anyway due to the (potential) dealloc call.
-
Kevin Modzelewski authored
I copied subtype_traverse and subtype_clear from cpython but didn't update them to support our hcattrs
-
Marius Wachtler authored
-
Marius Wachtler authored
- fix instruction encoding of: add imm, mem - fix Py_REF_DEBUG when increfing multiple times at once - add missing bjit annotations
-