summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/frameobject.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 53764a4..d754443 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -411,10 +411,10 @@ mark_stacks(PyCodeObject *code_obj, int len)
case LOAD_GLOBAL:
{
int j = oparg;
+ next_stack = push_value(next_stack, Object);
if (j & 1) {
next_stack = push_value(next_stack, Null);
}
- next_stack = push_value(next_stack, Object);
stacks[next_i] = next_stack;
break;
}
@@ -424,22 +424,12 @@ mark_stacks(PyCodeObject *code_obj, int len)
int j = oparg;
if (j & 1) {
next_stack = pop_value(next_stack);
- next_stack = push_value(next_stack, Null);
next_stack = push_value(next_stack, Object);
+ next_stack = push_value(next_stack, Null);
}
stacks[next_i] = next_stack;
break;
}
- case CALL:
- {
- int args = oparg;
- for (int j = 0; j < args+2; j++) {
- next_stack = pop_value(next_stack);
- }
- next_stack = push_value(next_stack, Object);
- stacks[next_i] = next_stack;
- break;
- }
case SWAP:
{
int n = oparg;