summaryrefslogtreecommitdiff
path: root/src/jit/gcinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/gcinfo.cpp')
-rw-r--r--src/jit/gcinfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jit/gcinfo.cpp b/src/jit/gcinfo.cpp
index a91bef2629..6ed3f6d0df 100644
--- a/src/jit/gcinfo.cpp
+++ b/src/jit/gcinfo.cpp
@@ -231,8 +231,6 @@ void GCInfo::gcMarkRegPtrVal(regNumber reg, var_types type)
GCInfo::WriteBarrierForm GCInfo::gcIsWriteBarrierCandidate(GenTree* tgt, GenTree* assignVal)
{
-#if FEATURE_WRITE_BARRIER
-
/* Are we storing a GC ptr? */
if (!varTypeIsGC(tgt->TypeGet()))
@@ -292,7 +290,6 @@ GCInfo::WriteBarrierForm GCInfo::gcIsWriteBarrierCandidate(GenTree* tgt, GenTree
}
assert(!"Missing case in gcIsWriteBarrierCandidate");
-#endif
return WBF_NoBarrier;
}