Skip to content

Commit df66882

Browse files
committed
Fixing typos when lowering write barriers
1 parent 9dc4448 commit df66882

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/llvm-final-gc-lowering.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ bool FinalLowerGC::runOnFunction(Function &F)
315315
LOWER_INTRINSIC(safepoint, lowerSafepoint);
316316

317317
#ifdef MMTK_GC
318-
LOWER_INTRINSIC(writeBarrier1, lowerNewGCFrame);
319-
LOWER_INTRINSIC(writeBarrier2, lowerNewGCFrame);
320-
LOWER_INTRINSIC(writeBarrier1Slow, lowerNewGCFrame);
321-
LOWER_INTRINSIC(writeBarrier2Slow, lowerNewGCFrame);
318+
LOWER_INTRINSIC(writeBarrier1, lowerWriteBarrier1);
319+
LOWER_INTRINSIC(writeBarrier2, lowerWriteBarrier2);
320+
LOWER_INTRINSIC(writeBarrier1Slow, lowerWriteBarrier1Slow);
321+
LOWER_INTRINSIC(writeBarrier2Slow, lowerWriteBarrier2Slow);
322322
#endif
323323

324324
#undef LOWER_INTRINSIC

0 commit comments

Comments
 (0)