Skip to content

Commit

Permalink
mark julia.write_barrier readonly on argument (JuliaLang#39742)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored and LilithHafner committed Mar 8, 2022
1 parent f8fa8ae commit 703ab45
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 703ab45

Please sign in to comment.