Skip to content

Commit

Permalink
Fix IR gen for symbol meta
Browse files Browse the repository at this point in the history
Related to #280.
  • Loading branch information
jeaye committed Feb 19, 2025
1 parent 416b3e6 commit 1a75d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler+runtime/src/cpp/jank/codegen/llvm_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ namespace jank::codegen
auto const set_meta_fn(ctx->module->getOrInsertFunction("jank_set_meta", set_meta_fn_type));

auto const meta(gen_global_from_read_string(s->meta.unwrap()));
ctx->builder->CreateCall(set_meta_fn, { global, meta });
ctx->builder->CreateCall(set_meta_fn, { call, meta });
}

if(prev_block == ctx->global_ctor_block)
Expand Down

0 comments on commit 1a75d85

Please sign in to comment.