Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 737b41b

Browse files
committed
Fix non-Windows compile error
1 parent d84eba2 commit 737b41b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/jit/codegencommon.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3968,12 +3968,12 @@ bool CodeGenInterface::genUseOptimizedWriteBarriers(GCInfo::WriteBarrierForm wbf
39683968
#if defined(_TARGET_X86_) && NOGC_WRITE_BARRIERS
39693969
#ifdef DEBUG
39703970
return (wbf != GCInfo::WBF_NoBarrier_CheckNotHeapInDebug); // This one is always a call to a C++ method.
3971-
#else // !DEBUG
3971+
#else
39723972
return true;
3973-
#endif // !DEBUG
3974-
#else // !defined(_TARGET_X86_) || !NOGC_WRITE_BARRIERS
3973+
#endif
3974+
#else
39753975
return false;
3976-
#endif !defined(_TARGET_X86_) || !NOGC_WRITE_BARRIERS
3976+
#endif
39773977
}
39783978

39793979
//----------------------------------------------------------------------
@@ -3999,9 +3999,9 @@ bool CodeGenInterface::genUseOptimizedWriteBarriers(GenTree* tgt, GenTree* assig
39993999
#ifdef DEBUG
40004000
GCInfo::WriteBarrierForm wbf = compiler->codeGen->gcInfo.gcIsWriteBarrierCandidate(tgt, assignVal);
40014001
return (wbf != GCInfo::WBF_NoBarrier_CheckNotHeapInDebug); // This one is always a call to a C++ method.
4002-
#else // !DEBUG
4002+
#else
40034003
return true;
4004-
#endif // !DEBUG
4004+
#endif
40054005
#else
40064006
return false;
40074007
#endif

0 commit comments

Comments
 (0)