summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 89d75b5..72399c7 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -88,7 +88,6 @@ typedef struct _PyCompiler {
including names tuple */
struct compiler_unit *u; /* compiler state for current block */
PyObject *c_stack; /* Python list holding compiler_unit ptrs */
- PyArena *c_arena; /* pointer to memory allocation arena */
bool c_save_nested_seqs; /* if true, construct recursive instruction sequences
* (including instructions for nested code objects)
@@ -112,7 +111,6 @@ compiler_setup(compiler *c, mod_ty mod, PyObject *filename,
}
c->c_filename = Py_NewRef(filename);
- c->c_arena = arena;
if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
return ERROR;
}
@@ -1244,12 +1242,6 @@ _PyCompile_Metadata(compiler *c)
return &c->u->u_metadata;
}
-PyArena *
-_PyCompile_Arena(compiler *c)
-{
- return c->c_arena;
-}
-
#ifndef NDEBUG
int
_PyCompile_IsTopLevelAwait(compiler *c)