Skip to content

Commit

Permalink
mark julia.write_barrier readonly on argument (#39742)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Sep 15, 2021
1 parent 889ef65 commit 3794f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ static const auto jl_write_barrier_func = new JuliaFunction{
[](LLVMContext &C) { return AttributeList::get(C,
Attributes(C, {Attribute::NoUnwind, Attribute::NoRecurse, Attribute::InaccessibleMemOnly}),
AttributeSet(),
None); },
{Attributes(C, {Attribute::ReadOnly})}); },
};
static const auto jlisa_func = new JuliaFunction{
"jl_isa",
Expand Down

0 comments on commit 3794f9a

Please sign in to comment.