Commit bf8a7e2d authored by Kevin Modzelewski's avatar Kevin Modzelewski

These shouldn't be xdecrefs

parent 5a503d8b
...@@ -573,8 +573,8 @@ Value ASTInterpreter::visit_binop(AST_BinOp* node) { ...@@ -573,8 +573,8 @@ Value ASTInterpreter::visit_binop(AST_BinOp* node) {
Py_DECREF(left.o); Py_DECREF(left.o);
Py_DECREF(right.o); Py_DECREF(right.o);
if (jit) { if (jit) {
left.var->xdecref(); left.var->decref();
right.var->xdecref(); right.var->decref();
} }
return r; return r;
} }
......
...@@ -4129,11 +4129,11 @@ Box* callFunc(BoxedFunctionBase* func, CallRewriteArgs* rewrite_args, ArgPassSpe ...@@ -4129,11 +4129,11 @@ Box* callFunc(BoxedFunctionBase* func, CallRewriteArgs* rewrite_args, ArgPassSpe
Py_XDECREF(arg2); Py_XDECREF(arg2);
Py_XDECREF(arg3); Py_XDECREF(arg3);
for (int i = 0; i < num_output_args - 3; i++) { for (int i = 0; i < num_output_args - 3; i++) {
Py_XDECREF(oargs[i]); Py_DECREF(oargs[i]);
} }
if (rewrite_args) { if (rewrite_args) {
for (int i = 0; i < num_output_args; i++) { for (int i = 0; i < num_output_args; i++) {
getArg(i, rewrite_args)->xdecref(); getArg(i, rewrite_args)->decref();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment