| 208 | } |
| 209 | |
| 210 | static CBMScope *py_scope_push_checked(PyLSPContext *ctx) { |
| 211 | if (!ctx) |
| 212 | return NULL; |
| 213 | CBMScope *parent = ctx->current_scope; |
| 214 | CBMScope *child = cbm_scope_push(ctx->arena, parent); |
| 215 | if (!child || child == parent) |
| 216 | py_disable_callable_value_proof(ctx); |
| 217 | return child; |
| 218 | } |
| 219 | |
| 220 | static void py_scope_clear_callable(PyLSPContext *ctx, const char *name) { |
| 221 | if (cbm_scope_update_callable(ctx->current_scope, name, NULL)) { |
no test coverage detected