aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.c')
-rw-r--r--src/compiler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler.c b/src/compiler.c
index 1feaf86..c9ae09a 100644
--- a/src/compiler.c
+++ b/src/compiler.c
@@ -208,7 +208,6 @@ static void* thread_callback_parse_file(void *userdata) {
static CHECK_RESULT int thread_resolve_ast(amal_compiler *compiler, Parser *parser) {
AstCompilerContext compiler_context;
int result;
- compiler_context.parser = parser;
compiler_context.compiler = compiler;
compiler_context.scope = NULL;
result = setjmp(compiler_context.env);
@@ -222,7 +221,6 @@ static CHECK_RESULT int thread_resolve_ast(amal_compiler *compiler, Parser *pars
static CHECK_RESULT int thread_generate_ssa(Parser *parser) {
SsaCompilerContext compiler_context;
int result;
- compiler_context.parser = parser;
result = setjmp(compiler_context.env);
if(result == 0) {
return_if_error(ssa_init(&compiler_context.ssa, parser->allocator));