Skip to content

Commit 5cf0dae

Browse files
committed
Inlining write barrier
1 parent f525fef commit 5cf0dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llvm-late-gc-lowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ bool LateLowerGCFrame::CleanupIR(Function &F, State *S, bool *CFGModified) {
26172617
// FIXME: Currently we call write barrier with the src object (parent).
26182618
// This works fine for object barrier for generational plans (such as stickyimmix), which does not use the target object at all.
26192619
// But for other MMTk plans, we need to be careful.
2620-
const bool INLINE_WRITE_BARRIER = false;
2620+
const bool INLINE_WRITE_BARRIER = true;
26212621
if (CI->getCalledOperand() == write_barrier_func) {
26222622
if (MMTK_NEEDS_WRITE_BARRIER == MMTK_OBJECT_BARRIER) {
26232623
if (INLINE_WRITE_BARRIER) {

0 commit comments

Comments
 (0)